@xuda.io/ai_module 1.1.4050 → 1.1.4051
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 +2 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4267,6 +4267,7 @@ export const submit_chat_conversation = async function (req, job_id, headers) {
|
|
|
4267
4267
|
req.conversation_doc = conversation_doc;
|
|
4268
4268
|
|
|
4269
4269
|
if (conversation_doc.reference_type === 'contacts') {
|
|
4270
|
+
account_module.ts_contact(conversation_doc.reference_id);
|
|
4270
4271
|
if (conversation_doc.conversation_type === 'note') {
|
|
4271
4272
|
return await chat_note(req, job_id, headers);
|
|
4272
4273
|
} else {
|
|
@@ -4388,7 +4389,7 @@ const chat_note = async function (req, job_id, headers) {
|
|
|
4388
4389
|
|
|
4389
4390
|
// let sender_contact_doc = await account_module.get_contact_info(uid, null, conversation_doc.reference_id);
|
|
4390
4391
|
|
|
4391
|
-
account_module.ts_contact(conversation_doc.reference_id);
|
|
4392
|
+
// account_module.ts_contact(conversation_doc.reference_id);
|
|
4392
4393
|
|
|
4393
4394
|
const sender_app_id = await account_module.get_account_default_project_id(uid);
|
|
4394
4395
|
let sender_conversation_doc = await db_module.get_app_couch_doc_native(sender_app_id, conversation_id);
|