iachat/spec/models/channel
Cayo P. R. Oliveira 21133c3383
feat: mark unread conversations (#49)
* feat: add MESSAGES_UNREAD event and implement unread action in ConversationsController

* feat: rename MESSAGES_UNREAD event to CONVERSATION_UNREAD and update unread action in ConversationsController

* feat: implement send_unread_conversation method and update conversation_unread event handling

* feat: add test for dispatching conversation.unread event in ConversationsController

* feat: add conversation_unread event handling in ChannelListener

* feat: add send_unread_conversation method and corresponding tests in Whatsapp channel

* feat: add logging for nil last_message in send_unread_conversation method

* feat: add send_unread_conversation to error handling methods

* feat: implement send_unread_conversation method with logging for nil last_message

* fix: add nil check and logging for last_message in send_unread_conversation method

* fix: update conversation_unread method to call unread_conversation instead of send_unread_conversation

* refactor: rename send_unread_conversation to unread_conversation and update method implementation

* refactor: rename send_unread_conversation to send_unread_messages and update implementation to handle multiple messages

* refactor: rename send_read_messages to read_messages and send_unread_messages to unread_message for clarity

* refactor: rename send_read_messages to read_messages and send_unread_messages to unread_message for clarity

* refactor: rename send_read_messages to read_messages for consistency
2025-05-22 11:52:03 -03:00
..
api_spec.rb chore: Increase character limit for external url fields (#7230) 2023-05-31 19:17:24 +05:30
email_spec.rb feat: add Google Email fetch and OAuth token refresh service (#9603) 2024-06-11 14:22:03 +05:30
facebook_page_spec.rb chore: Remove delete Instagram story implementation (#11097) 2025-03-25 09:44:26 +05:30
instagram_spec.rb feat: Instagram reauthorization (#11221) 2025-04-03 14:30:48 +05:30
telegram_spec.rb feat: Support document file uploads on telegram channel (#9266) 2024-05-02 14:05:14 -07:00
twilio_sms_spec.rb Merge branch 'fazer-ai/main' into chore/merge-upstream 2025-04-25 16:57:00 -03:00
web_widget_spec.rb feat: Custom fields in pre-chat form (#4189) 2022-04-19 12:47:29 +05:30
whatsapp_spec.rb feat: mark unread conversations (#49) 2025-05-22 11:52:03 -03:00