@xuda.io/account_module 1.2.1791 → 1.2.1793
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 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2814,6 +2814,8 @@ export const get_account_profile_info = async function (uid, contact_profile_doc
|
|
|
2814
2814
|
// const account_profile_doc = await db_module.get_couch_doc_native('xuda_accounts', doc.share_item_id);
|
|
2815
2815
|
const shared_from_uid_ret = await get_account_name({ uid_query: doc.shared_from_uid });
|
|
2816
2816
|
ret = shared_from_uid_ret.data.profile_avatar;
|
|
2817
|
+
} else if (doc.is_spam) {
|
|
2818
|
+
ret = `spam-pattern.png`;
|
|
2817
2819
|
} else if (doc.account_type === 'business') {
|
|
2818
2820
|
ret = doc.profile_picture;
|
|
2819
2821
|
} else {
|