iachat/spec/services
Cayo P. R. Oliveira 8e913236e5
feat: baileys messages reactions (#33)
* fix: update send_message method to handle  baileys-api send-message changes

* chore: simplify update of is_unsupported

* feat: add support for message reactions in WhatsApp Baileys service

* chore: update context description for unsupported message in send_message spec

* feat: enhance incoming messages Baileys service to support message reactions and external source ID handling

* fix: correct typo in comment for is_reaction attribute in Message model

* chore: simplify message handling by removing external source ID checks and unused methods

* fix: update comment to reflect necessary change for source_id in set_contact method

* fix: refactor message handling for reactions and simplify jid generation

* fix: add comment to clarify behavior of find_message_by_source_id method

* fix: update unsupported message handling

* chore: specs for reaction messages

* fix: simplify message update handling by removing redundant validation method

* fix: update reaction message handling to use in_reply_to_external_id and fix spec

* fix: enhance message handling for unsupported types and update specs

* fix: update reaction message handling to set is_reaction flag and enhance specs

* fix: update specs for send message in reaction

* revert: remove mb0 from input

* fix: streamline jid generation in send_message_request

* refactor: specs

* refactor: move content attributes to helper

* test: spec for empty reaction

* refactor: streamline references to replied message

* test: refactor spec

* test: refactor spec

---------

Co-authored-by: gabrieljablonski <contact@gabrieljablonski.com>
2025-04-29 20:57:36 -03:00
..
auto_assignment chore: Enable the new Rubocop rules (#7122) 2023-05-19 14:37:10 +05:30
automation_rules chore: apply Rails/SaveBang cop (#15) 2025-04-03 23:29:24 -03:00
contacts chore: apply Rails/SaveBang cop (#15) 2025-04-03 23:29:24 -03:00
conversations Merge branch 'fazer-ai/main' into chore/merge-upstream 2025-04-25 16:57:00 -03:00
facebook feat: handle Channel errors (#11015) 2025-03-06 20:09:47 +05:30
google chore: apply Rails/SaveBang cop (#15) 2025-04-03 23:29:24 -03:00
imap feat: Add configurable interval for IMAP sync (#9302) 2024-04-25 18:58:20 -07:00
instagram feat: Handle instagram test service (#11244) 2025-04-11 19:11:29 +05:30
internal feat: add job to remove stale contacts and contact_inboxes (#11186) 2025-03-28 12:18:39 +05:30
labels fix: Update associations when a label is updated (#3046) 2021-09-21 10:16:32 +05:30
line fix: Fix line sticker URL to prevent certain images from failing to d… (#10416) 2024-11-15 17:27:58 +04:00
llm_formatter feat(ee): Add copilot integration (v1) to the conversation sidebar (#10566) 2024-12-10 15:36:48 -08:00
macros feat: Add webhook event support for macros (#11235) 2025-04-02 20:26:55 -07:00
message_templates chore: apply Rails/SaveBang cop (#15) 2025-04-03 23:29:24 -03:00
messages fix: Prevent duplicate notifications for mentions (#10675) 2025-01-13 11:20:31 +05:30
microsoft chore: apply Rails/SaveBang cop (#15) 2025-04-03 23:29:24 -03:00
notification chore: Disable email notifications for unconfirmed users (#10964) 2025-02-24 12:14:40 -08:00
sms chore: apply Rails/SaveBang cop (#15) 2025-04-03 23:29:24 -03:00
telegram feat: Adds support for telegram contact sharing (#10841) 2025-02-06 14:23:08 +05:30
twilio chore: apply Rails/SaveBang cop (#15) 2025-04-03 23:29:24 -03:00
twitter chore: Enable the new Rubocop rules (#7122) 2023-05-19 14:37:10 +05:30
whatsapp feat: baileys messages reactions (#33) 2025-04-29 20:57:36 -03:00
action_service_spec.rb feat: Add the ability to un-assign teams using automation (#9668) 2024-06-26 12:40:36 -07:00
search_service_spec.rb feat: use gin index for message search (#11107) 2025-03-19 12:56:23 +05:30