@xuda.io/account_module 1.2.892 → 1.2.894
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 +9 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1582,6 +1582,11 @@ export const get_contacts = async function (req) {
|
|
|
1582
1582
|
break;
|
|
1583
1583
|
}
|
|
1584
1584
|
|
|
1585
|
+
case 'online': {
|
|
1586
|
+
opt.limit = 9999;
|
|
1587
|
+
break;
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1585
1590
|
default:
|
|
1586
1591
|
with_requests = true;
|
|
1587
1592
|
break;
|
|
@@ -1652,6 +1657,10 @@ export const get_contacts = async function (req) {
|
|
|
1652
1657
|
if (ret_from) continue;
|
|
1653
1658
|
|
|
1654
1659
|
doc = await get_contact_info(uid, doc);
|
|
1660
|
+
|
|
1661
|
+
if (filter_type === 'online') {
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1655
1664
|
contact_docs.docs.push(doc);
|
|
1656
1665
|
}
|
|
1657
1666
|
|