iachat/spec/services/whatsapp
Cayo P. R. Oliveira 76deea996d
chore: refactor incoming_message_baileys_service using composition and fix some failure points (#53)
* feat: implement connection update handling for Baileys

* feat: add message update handling for Baileys integration

* feat: implement message processing and handling for Baileys integration

* fix: clear message source ID from Redis when contact is not found

* fix: raise error when attachment file is not found during media handling

* refactor: reorganize includes in incoming_message_baileys_service

* feat: add helper methods for message handling in Baileys integration

* feat: include IncomingMessageServiceHelpers in MessagesUpdate module

* refactor: replace IncomingMessageServiceHelpers with BaileysHandlers::Helpers in connection_update, messages_update, and messages_upsert modules

* fix: mark message as unsupported when attachment file is not found

* refactor: remove unnecessary namespace for includes in IncomingMessageBaileysService

* refactor: add private visibility to methods in connection_update, helpers, messages_update, and messages_upsert modules

* refactor: preserve original message in handle_edited_content method

* fix: attachment error handling

* feat: implement conversation creation logic in set_conversation method

* refactor: remove unused error handling for attachment not found in messages update and upsert

* feat: update last seen timestamps in conversation on message status update

* feat: log warning for unsupported message update status in Baileys service

* chore: merge

---------

Co-authored-by: gabrieljablonski <contact@gabrieljablonski.com>
2025-05-29 10:56:39 -03:00
..
providers Fix/baileys unread message (#50) 2025-05-23 17:19:01 -03:00
incoming_message_baileys_service_spec.rb chore: refactor incoming_message_baileys_service using composition and fix some failure points (#53) 2025-05-29 10:56:39 -03:00
incoming_message_service_spec.rb chore: apply Rails/SaveBang cop (#15) 2025-04-03 23:29:24 -03:00
incoming_message_whatsapp_cloud_service_spec.rb fix: Check valid params exists in WhatsAapp payload (#6780) 2023-03-30 12:10:59 +05:30
send_on_whatsapp_service_spec.rb fix(baileys): race condition send_message/incoming message (#51) 2025-05-29 10:43:42 -03:00