@xuda.io/account_module 1.2.1954 → 1.2.1955
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 -12
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2911,22 +2911,19 @@ export const set_deep_research_contact = async function (req, job_id, headers) {
|
|
|
2911
2911
|
const contact_save_ret = await save_contact(uid, contact_doc);
|
|
2912
2912
|
await delete_xuda_cache(contact_doc);
|
|
2913
2913
|
|
|
2914
|
+
const conversation_items = await db_module.find_app_couch_query(account_profile_info.app_id, {
|
|
2915
|
+
selector: {
|
|
2916
|
+
docType: 'chat_conversation_item',
|
|
2917
|
+
reference_id: contact_id,
|
|
2918
|
+
stat: 3,
|
|
2919
|
+
process_stat: 'partial',
|
|
2920
|
+
},
|
|
2921
|
+
});
|
|
2914
2922
|
|
|
2915
|
-
|
|
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
|
-
}
|
|
2923
|
+
for await (let conversation_item of conversation_items.docs) {
|
|
2925
2924
|
}
|
|
2926
2925
|
|
|
2927
|
-
|
|
2928
2926
|
// set_contact_profile_picture(uid, contact_doc._id, {}, job_id, headers, account_profile_info, false);
|
|
2929
|
-
|
|
2930
2927
|
|
|
2931
2928
|
// const emails = await db_module.find_app_couch_query(account_profile_info.app_id, {
|
|
2932
2929
|
// selector: {
|