@xuda.io/ai_module 1.1.5540 → 1.1.5541

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 +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4019,7 +4019,7 @@ const chat_email = async function (req, job_id, headers) {
4019
4019
  // }
4020
4020
  let conversation_item_reference_id;
4021
4021
  try {
4022
- conversation_item_reference_id = await add_conversation_item(uid, profile_id, conversation_id, body, 'email', conversation_doc.reference_id, { direction });
4022
+ conversation_item_reference_id = await add_conversation_item(uid, profile_id, conversation_id, body, 'email', conversation_doc.reference_id, { direction, from_mailbox });
4023
4023
 
4024
4024
  report_ai_status('conversations');
4025
4025
  } catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5540",
3
+ "version": "1.1.5541",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",