@xuda.io/ai_module 1.1.4538 → 1.1.4540
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 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4260,6 +4260,8 @@ export const submit_chat_conversation = async function (req, job_id, headers) {
|
|
|
4260
4260
|
req.conversation_doc = conversation_doc;
|
|
4261
4261
|
let ret;
|
|
4262
4262
|
if (conversation_doc.reference_type === 'contacts') {
|
|
4263
|
+
const _thread_reentry = Date.now() - conversation_doc.date_created_ts > 60000;
|
|
4264
|
+
|
|
4263
4265
|
account_module.ts_contact(uid, conversation_doc.reference_id);
|
|
4264
4266
|
|
|
4265
4267
|
switch (conversation_doc.conversation_type) {
|