@xuda.io/account_module 1.2.508 → 1.2.510
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 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1270,7 +1270,6 @@ export const get_contact_info = async function (contact_doc, _id) {
|
|
|
1270
1270
|
}
|
|
1271
1271
|
|
|
1272
1272
|
doc.profile_avatar = account_info_ret.data.profile_avatar;
|
|
1273
|
-
|
|
1274
1273
|
doc.card_background = get_contact_background(doc);
|
|
1275
1274
|
|
|
1276
1275
|
//membership_plan
|
|
@@ -1291,6 +1290,9 @@ export const get_contact_info = async function (contact_doc, _id) {
|
|
|
1291
1290
|
|
|
1292
1291
|
doc.icon_pattern = get_contact_pattern(doc);
|
|
1293
1292
|
}
|
|
1293
|
+
|
|
1294
|
+
const chats_ret = await get_ai_chats({ uid, reference_id: doc._id });
|
|
1295
|
+
|
|
1294
1296
|
doc.border = get_contact_border(doc);
|
|
1295
1297
|
if (!doc.name) {
|
|
1296
1298
|
doc.name = doc.email;
|