@xuda.io/account_module 1.2.1953 → 1.2.1954

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 +16 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2910,9 +2910,23 @@ export const set_deep_research_contact = async function (req, job_id, headers) {
2910
2910
 
2911
2911
  const contact_save_ret = await save_contact(uid, contact_doc);
2912
2912
  await delete_xuda_cache(contact_doc);
2913
- // set_contact_profile_picture(uid, contact_doc._id, {}, job_id, headers, account_profile_info, false);
2914
2913
 
2915
- // find contact emails , set status to 1
2914
+
2915
+ const conversation_items = await db_module.find_app_couch_query(account_profile_info.app_id, {
2916
+ selector: {
2917
+ docType: 'chat_conversation_item',
2918
+ reference_id: contact_id,
2919
+ stat: 3,
2920
+ process_stat: 'partial',
2921
+ },
2922
+ });
2923
+ for await (let conversation_item of conversation_items.docs) {
2924
+ }
2925
+ }
2926
+
2927
+
2928
+ // set_contact_profile_picture(uid, contact_doc._id, {}, job_id, headers, account_profile_info, false);
2929
+
2916
2930
 
2917
2931
  // const emails = await db_module.find_app_couch_query(account_profile_info.app_id, {
2918
2932
  // selector: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1953",
3
+ "version": "1.2.1954",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {