@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.
Files changed (2) hide show
  1. package/index.mjs +2 -0
  2. 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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1791",
3
+ "version": "1.2.1793",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {