@xuda.io/account_module 1.2.1180 → 1.2.1182

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 +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2668,7 +2668,7 @@ export const get_account_profile_info = async function (uid, contact_profile_doc
2668
2668
  doc.online = await get_online();
2669
2669
 
2670
2670
  // doc.border = account_info_ret.data.active_account_profile_id === doc._id ? 'yellow' : ''; //'#1a3557';
2671
- doc.border = stringToColour(doc._id);
2671
+ doc.border = stringToColour(doc.shared_from_uid || doc.uid);
2672
2672
 
2673
2673
  const chats_ret = await ai_module.get_ai_chats({ uid, reference_id: doc._id });
2674
2674
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1180",
3
+ "version": "1.2.1182",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {