@xuda.io/ai_module 1.1.5554 → 1.1.5556
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 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3905,6 +3905,9 @@ const contact_chat_conversation = async function (req, job_id, headers) {
|
|
|
3905
3905
|
}
|
|
3906
3906
|
|
|
3907
3907
|
await db_module.save_app_couch_doc_native(receiver_app_id, receiver_conversation_doc);
|
|
3908
|
+
if (conversation_doc.reference_type === 'contacts') {
|
|
3909
|
+
auto_response(uid, profile_id, conversation_doc.reference_id, conversation_id);
|
|
3910
|
+
}
|
|
3908
3911
|
|
|
3909
3912
|
await db_module.save_app_couch_doc_native(sender_app_id, sender_conversation_doc);
|
|
3910
3913
|
|