@xuda.io/account_module 1.2.893 → 1.2.895
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 +5 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1657,6 +1657,11 @@ export const get_contacts = async function (req) {
|
|
|
1657
1657
|
if (ret_from) continue;
|
|
1658
1658
|
|
|
1659
1659
|
doc = await get_contact_info(uid, doc);
|
|
1660
|
+
|
|
1661
|
+
if (filter_type === 'online') {
|
|
1662
|
+
if (!doc.online) continue;
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1660
1665
|
contact_docs.docs.push(doc);
|
|
1661
1666
|
}
|
|
1662
1667
|
|