@xuda.io/account_module 1.2.1705 → 1.2.1706
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +2 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2204,6 +2204,7 @@ const set_contact_profile_picture = async function (uid, contact_id, metadata, j
|
|
|
2204
2204
|
throw new Error(`contact ${contact_id} not found`);
|
|
2205
2205
|
}
|
|
2206
2206
|
await update_contact_profile_picture_status(uid, contact_id, 2);
|
|
2207
|
+
////// PROFILE PICTURE
|
|
2207
2208
|
if (!contact_obj.profile_picture) {
|
|
2208
2209
|
let cache = await get_xuda_cache(uid, 'profile_picture', contact_obj.email, 'file');
|
|
2209
2210
|
if (!cache && contact_obj.business_name) {
|
|
@@ -2231,7 +2232,7 @@ const set_contact_profile_picture = async function (uid, contact_id, metadata, j
|
|
|
2231
2232
|
const contact_save_ret = await db_module.save_app_couch_doc(account_profile_info.app_id, contact_obj);
|
|
2232
2233
|
profile_picture = contact_obj.profile_picture;
|
|
2233
2234
|
}
|
|
2234
|
-
|
|
2235
|
+
////// PROFILE AVATAR
|
|
2235
2236
|
if (!contact_obj.profile_avatar) {
|
|
2236
2237
|
let cache = await get_xuda_cache(uid, 'profile_avatar', contact_obj.email, 'file');
|
|
2237
2238
|
if (!cache && contact_obj.business_name) {
|