@xuda.io/account_module 1.2.1771 → 1.2.1772
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 +1 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2509,8 +2509,7 @@ export const get_contacts = async function (req, job_id, headers) {
|
|
|
2509
2509
|
contact_docs.docs.push(doc);
|
|
2510
2510
|
|
|
2511
2511
|
if (contact_id) {
|
|
2512
|
-
|
|
2513
|
-
if (!doc.profile_avatar && (!doc.profile_avatar_stat || doc.profile_avatar_stat === 1 || (doc.profile_avatar_stat === 2 && (!doc.profile_avatar_stat_ts || Date.now() - doc.profile_avatar_stat_ts > 1000 * 60 * 5)))) {
|
|
2512
|
+
if (!doc.profile_avatar && !doc.is_spam && (!doc.profile_avatar_stat || doc.profile_avatar_stat === 1 || (doc.profile_avatar_stat === 2 && (!doc.profile_avatar_stat_ts || Date.now() - doc.profile_avatar_stat_ts > 1000 * 60 * 5)))) {
|
|
2514
2513
|
set_contact_profile_picture(uid, doc._id, {}, job_id, headers, account_profile_info);
|
|
2515
2514
|
}
|
|
2516
2515
|
}
|