@xuda.io/account_module 1.2.1980 → 1.2.1983
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 +0 -5
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2794,8 +2794,6 @@ export const not_spam_contact = async function (req, job_id, headers) {
|
|
|
2794
2794
|
await delete_xuda_cache(contact_doc);
|
|
2795
2795
|
set_contact_profile_picture(uid, contact_doc._id, {}, job_id, headers, account_profile_info, false);
|
|
2796
2796
|
|
|
2797
|
-
// find contact emails , set status to 1
|
|
2798
|
-
|
|
2799
2797
|
const emails = await db_module.find_app_couch_query(account_profile_info.app_id, {
|
|
2800
2798
|
selector: {
|
|
2801
2799
|
docType: 'email',
|
|
@@ -2822,8 +2820,6 @@ export const not_spam_contact = async function (req, job_id, headers) {
|
|
|
2822
2820
|
req.uid = email.uid;
|
|
2823
2821
|
req.email_id = email._id;
|
|
2824
2822
|
await email_module.process_pending_email(req, job_id, headers);
|
|
2825
|
-
|
|
2826
|
-
// await process_email(email.email_account_id, profile, uid, email._id, job_id, headers, null, true);
|
|
2827
2823
|
}
|
|
2828
2824
|
|
|
2829
2825
|
// const conversations = await db_module.find_app_couch_query(account_profile_info.app_id, {
|
|
@@ -2888,7 +2884,6 @@ export const generate_contact_avatar = async function (req, job_id, headers) {
|
|
|
2888
2884
|
};
|
|
2889
2885
|
|
|
2890
2886
|
export const set_deep_research_contact = async function (req, job_id, headers) {
|
|
2891
|
-
// const email_module = await import(`${module_path}/email_module/index.mjs`);
|
|
2892
2887
|
const ai_module = await import(`${module_path}/ai_module/index.mjs`);
|
|
2893
2888
|
|
|
2894
2889
|
const { contact_id, uid } = req;
|