@xuda.io/account_module 1.2.1911 → 1.2.1913
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 +3 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2760,6 +2760,8 @@ export const not_spam_contact = async function (req, job_id, headers) {
|
|
|
2760
2760
|
var contact_doc = await get_contact(uid, contact_id);
|
|
2761
2761
|
contact_doc.is_spam = false;
|
|
2762
2762
|
|
|
2763
|
+
await db_module.save_couch_doc_native('xuda_', { docType: 'spam_whitelist', email: contact_doc.email });
|
|
2764
|
+
|
|
2763
2765
|
const contact_save_ret = await save_contact(uid, contact_doc);
|
|
2764
2766
|
await delete_xuda_cache(contact_doc);
|
|
2765
2767
|
set_contact_profile_picture(uid, contact_doc._id, {}, job_id, headers, account_profile_info, false);
|
|
@@ -2785,7 +2787,7 @@ export const not_spam_contact = async function (req, job_id, headers) {
|
|
|
2785
2787
|
db_module.delete_app_couch_doc(app_id, email.conversation_item_id);
|
|
2786
2788
|
email.conversation_item_id = null;
|
|
2787
2789
|
}
|
|
2788
|
-
const save_ret = await db_module.
|
|
2790
|
+
const save_ret = await db_module.save_app_couch_doc_native(app_id, email);
|
|
2789
2791
|
|
|
2790
2792
|
// save attachments
|
|
2791
2793
|
// summarized_body
|