@xuda.io/account_module 1.2.782 → 1.2.784
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 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1242,6 +1242,7 @@ const get_contact_pattern = async function (doc) {
|
|
|
1242
1242
|
let ret = `default-pattern.png`;
|
|
1243
1243
|
|
|
1244
1244
|
if (doc.my_contact) {
|
|
1245
|
+
debugger;
|
|
1245
1246
|
if (doc.account_type === 'business') {
|
|
1246
1247
|
ret = doc.profile_picture;
|
|
1247
1248
|
} else {
|
|
@@ -1371,7 +1372,7 @@ export const get_contact_info = async function (uid, contact_doc, _id) {
|
|
|
1371
1372
|
doc.connection_stat = 0;
|
|
1372
1373
|
}
|
|
1373
1374
|
}
|
|
1374
|
-
|
|
1375
|
+
doc.avatar_source = account_info_ret.data.avatar_source;
|
|
1375
1376
|
doc.icon_pattern = await get_contact_pattern(doc);
|
|
1376
1377
|
doc.username = account_info_ret.data.username;
|
|
1377
1378
|
doc.business_name = account_info_ret.data.business_name;
|