@xuda.io/account_module 1.2.1894 → 1.2.1896

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 +9 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2764,7 +2764,7 @@ export const not_spam_contact = async function (req, job_id, headers) {
2764
2764
 
2765
2765
  // find contact emails , set status to 1
2766
2766
 
2767
- let emails = await db_module.find_app_couch_query(account_profile_info.app_id, {
2767
+ const emails = await db_module.find_app_couch_query(account_profile_info.app_id, {
2768
2768
  selector: {
2769
2769
  docType: 'email',
2770
2770
  stat: 3,
@@ -2782,6 +2782,14 @@ export const not_spam_contact = async function (req, job_id, headers) {
2782
2782
  // await process_email(email.email_account_id, profile, uid, email._id, job_id, headers, null, true);
2783
2783
  }
2784
2784
 
2785
+ const conversations = await db_module.find_app_couch_query(account_profile_info.app_id, {
2786
+ selector: {
2787
+ docType: 'chat_conversation',
2788
+ stat: 3,
2789
+ process_stat: 'partial',
2790
+ },
2791
+ });
2792
+
2785
2793
  // update_conversation_mood_level
2786
2794
  // attachment_handler
2787
2795
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1894",
3
+ "version": "1.2.1896",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {