iachat/app
Muhsin Keloth 8565341682
fix: Prevent creating duplicate messages via Instagram echo events (#11535)
Fixes
https://linear.app/chatwoot/issue/CW-4383/copilot-resolution-message-creating-duplicate-conversations-due-to
and
https://linear.app/chatwoot/issue/CW-4287/instagram-channel-missing-existing-source-id-check

When the copilot/system resolves a conversation with a system resolve
message (with `lock_to_single_conversation` disabled), echo events were
creating new conversations instead of using existing ones. This occurred
because we were checking the echo_id in the new conversation rather than
in the resolved conversation. This PR fixes the issue by checking if the
message exists anywhere in the system instead of checking within a
particular conversation.
2025-05-22 11:02:28 +05:30
..
actions chore: Avoid contact inboxes getting deleted (#10612) 2024-12-26 16:17:38 +05:30
assets chore: Update styles in settings pages (#11070) 2025-03-18 14:40:02 -07:00
builders fix: Prevent creating duplicate messages via Instagram echo events (#11535) 2025-05-22 11:02:28 +05:30
channels fix: Move contact events to account stream rather than individual user stream (#11082) 2025-03-13 17:46:48 -07:00
controllers fix: account email validation during signup (#11307) 2025-05-20 20:45:39 -07:00
dashboards chore: improve plan-based feature handling with plan hierarchy (#11335) 2025-04-28 14:13:56 -07:00
dispatchers feat(ee): Add Captain features (#10665) 2025-01-14 16:15:47 -08:00
drops feat: Add the support for custom attributes in message variables (#8511) 2023-12-08 14:13:35 -08:00
fields chore: improve plan-based feature handling with plan hierarchy (#11335) 2025-04-28 14:13:56 -07:00
finders feat: Add support for search_conversations in copilot (#11520) 2025-05-20 19:22:17 -07:00
helpers chore: improve plan-based feature handling with plan hierarchy (#11335) 2025-04-28 14:13:56 -07:00
javascript chore: Update Copilot UI in favor of the new design (#11544) 2025-05-21 18:14:51 -07:00
jobs fix: throttle stalecontacts job (#11430) 2025-05-08 20:05:08 -07:00
listeners feat: Add support for typing events in webhooks (#11423) 2025-05-08 17:28:35 -07:00
mailboxes chore: upgrade ruby version to 3.4.4 (#11524) 2025-05-21 19:40:07 +05:30
mailers chore: Increase the timeout to support slow SMTP servers (#10318) 2025-04-16 12:15:49 +05:30
models chore: upgrade ruby version to 3.4.4 (#11524) 2025-05-21 19:40:07 +05:30
policies chore: Clean up report & knowledge base policies (#11234) 2025-04-03 16:00:32 -07:00
presenters chore: Update the precision of the updated_at timestamp in conversation model (#10875) 2025-02-10 20:22:11 -08:00
services chore: upgrade ruby version to 3.4.4 (#11524) 2025-05-21 19:40:07 +05:30
views feat: Prevent saving preferences and status when impersonating (#11164) 2025-05-20 17:34:30 -07:00
workers feat: API Endpoints to update message status (#11387) 2025-04-29 15:33:11 -07:00