@xuda.io/account_module 1.2.1847 → 1.2.1848
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 +4 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2209,6 +2209,7 @@ export const add_contact = async function (req, job_id, headers) {
|
|
|
2209
2209
|
|
|
2210
2210
|
account_profiles: [account_profile_obj._id],
|
|
2211
2211
|
account_type: cached_contact?.account_type || account_type,
|
|
2212
|
+
profile_avatar_stat: 0,
|
|
2212
2213
|
// account_type_info: cached_contact?.account_type_info || account_type_info,
|
|
2213
2214
|
// email_type_info: cached_contact?.email_type_info || email_type_info,
|
|
2214
2215
|
};
|
|
@@ -2270,9 +2271,9 @@ export const add_contact = async function (req, job_id, headers) {
|
|
|
2270
2271
|
const save_ret = await save_contact(uid, contact_obj);
|
|
2271
2272
|
save_xuda_cache(uid, 'contact', contact_obj.email, null, contact_obj);
|
|
2272
2273
|
|
|
2273
|
-
if (!contact_obj.is_spam && contact_obj.name) {
|
|
2274
|
-
|
|
2275
|
-
}
|
|
2274
|
+
// if (!contact_obj.is_spam && contact_obj.name) {
|
|
2275
|
+
// set_contact_profile_picture(uid, contact_obj._id, metadata, job_id, headers, account_profile_info);
|
|
2276
|
+
// }
|
|
2276
2277
|
|
|
2277
2278
|
return save_ret;
|
|
2278
2279
|
} catch (err) {
|