iachat/spec/builders
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
..
campaigns chore: Enable the new Rubocop rules (#7122) 2023-05-19 14:37:10 +05:30
csat_surveys chore: Enable the new Rubocop rules (#7122) 2023-05-19 14:37:10 +05:30
messages fix: Prevent creating duplicate messages via Instagram echo events (#11535) 2025-05-22 11:02:28 +05:30
v2 chore: upgrade ruby version to 3.4.4 (#11524) 2025-05-21 19:40:07 +05:30
account_builder_spec.rb fix: account email validation during signup (#11307) 2025-05-20 20:45:39 -07:00
agent_builder_spec.rb fix: Avoid duplicate invitation emails when adding an agent (#9131) 2024-03-26 18:58:45 -07:00
contact_inbox_builder_spec.rb chore: Add cache to improve widget performance (#11163) 2025-03-24 16:04:49 -07:00
contact_inbox_with_contact_builder_spec.rb feat: Instagram Inbox using Instagram Business Login (#11054) 2025-04-08 10:47:41 +05:30
conversation_builder_spec.rb feat: Ability to lock the conversation to a single thread in API channels (#10329) 2024-12-09 23:36:17 +08:00
notification_builder_spec.rb fix: Exclude notifications for blocked contacts, except mentions (#10659) 2025-01-12 15:30:27 +05:30