@xuda.io/account_module 1.2.1183 → 1.2.1185
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 +3 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -575,9 +575,9 @@ export const get_account_info = async function (req) {
|
|
|
575
575
|
|
|
576
576
|
export const get_active_account_profile_info = async function (uid) {
|
|
577
577
|
const acc_obj = await db_module.get_couch_doc_native('xuda_accounts', uid);
|
|
578
|
-
|
|
578
|
+
debugger;
|
|
579
579
|
// if (acc_obj.account_info.active_account_profile_id !== acc_obj.account_profile_id) {
|
|
580
|
-
|
|
580
|
+
let active_account_profile_id = acc_obj.account_info.active_account_profile_id;
|
|
581
581
|
// }
|
|
582
582
|
try {
|
|
583
583
|
} catch (error) {}
|
|
@@ -2667,7 +2667,7 @@ export const get_account_profile_info = async function (uid, contact_profile_doc
|
|
|
2667
2667
|
|
|
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
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 });
|