@xuda.io/account_module 1.2.485 → 1.2.487

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 +3 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1222,7 +1222,7 @@ const get_contact_pattern = function (doc) {
1222
1222
  const get_contact_border = function (doc) {
1223
1223
  let ret = `transparent`;
1224
1224
 
1225
- if (pending) {
1225
+ if (doc.pending) {
1226
1226
  ret = `#6f6c67`;
1227
1227
  } else {
1228
1228
  switch (doc.connection_stat) {
@@ -1323,8 +1323,9 @@ export const get_contacts = async function (req) {
1323
1323
  doc.profile_avatar = account_info_ret.data.profile_avatar;
1324
1324
 
1325
1325
  doc.card_background = get_contact_background(doc);
1326
-
1326
+ debugger;
1327
1327
  doc.telephone = account_info_ret.data.tel;
1328
+
1328
1329
  // doc.notifications = 45;
1329
1330
  // doc.online = true;
1330
1331
  if (doc.team_req_id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.485",
3
+ "version": "1.2.487",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {