@xuda.io/account_module 1.2.478 → 1.2.479

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 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1289,6 +1289,9 @@ export const get_contacts = async function (req) {
1289
1289
  // doc.telephone = `561-235-1675`;
1290
1290
  // doc.notifications = 45;
1291
1291
  // doc.online = true;
1292
+ if (doc.team_req_id) {
1293
+ doc.connected = 1;
1294
+ }
1292
1295
 
1293
1296
  doc.icon_pattern = get_contact_pattern(doc);
1294
1297
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.478",
3
+ "version": "1.2.479",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {