@xuda.io/ai_module 1.1.5555 → 1.1.5557

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.
Files changed (2) hide show
  1. package/index.mjs +2 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -3906,7 +3906,7 @@ const contact_chat_conversation = async function (req, job_id, headers) {
3906
3906
 
3907
3907
  await db_module.save_app_couch_doc_native(receiver_app_id, receiver_conversation_doc);
3908
3908
  if (conversation_doc.reference_type === 'contacts') {
3909
- auto_response(uid, profile_id, conversation_doc.reference_id, conversation_id);
3909
+ auto_response(uid, profile_id, conversation_doc.reference_id);
3910
3910
  }
3911
3911
 
3912
3912
  await db_module.save_app_couch_doc_native(sender_app_id, sender_conversation_doc);
@@ -5181,7 +5181,7 @@ const auto_response = async function (uid, profile_id, contact_id, conversation_
5181
5181
  const contact_doc = await get_contact_info(account_profile_info.uid, null, contact_id);
5182
5182
  if (!contact_doc?.contact_reference_conversation_id) return;
5183
5183
 
5184
- const conversation_doc = await db_module.get_app_couch_doc_native(account_profile_info.app_id, conversation_id);
5184
+ // const conversation_doc = await db_module.get_app_couch_doc_native(account_profile_info.app_id, conversation_id);
5185
5185
 
5186
5186
  let auto_respond_agents = account_profile_doc.auto_respond_agents;
5187
5187
  if (auto_respond_agents === null || typeof auto_respond_agents === 'undefined') return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5555",
3
+ "version": "1.1.5557",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",