@xuda.io/account_module 1.2.1689 → 1.2.1691
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
|
@@ -1139,7 +1139,7 @@ const get_contact_background = function (doc) {
|
|
|
1139
1139
|
|
|
1140
1140
|
const get_contact_pattern = async function (doc) {
|
|
1141
1141
|
let ret = `default-pattern.png`;
|
|
1142
|
-
|
|
1142
|
+
debugger;
|
|
1143
1143
|
// if (doc.my_contact) {
|
|
1144
1144
|
// if (doc.account_type === 'business') {
|
|
1145
1145
|
// ret = doc.profile_picture;
|
|
@@ -1356,6 +1356,7 @@ export const get_contact_info = async function (uid, contact_doc, _id) {
|
|
|
1356
1356
|
doc.connection_stat = 0;
|
|
1357
1357
|
}
|
|
1358
1358
|
}
|
|
1359
|
+
debugger;
|
|
1359
1360
|
doc.avatar_source = account_info_ret.data.avatar_source;
|
|
1360
1361
|
doc.icon_pattern = await get_contact_pattern(doc);
|
|
1361
1362
|
doc.username = account_info_ret.data.username;
|