discourse/plugins/chat/spec/requests
Martin Brennan 894586afa9
FIX: Trashing message should reset last read (#20912)
When a chat message is trashed and the message is used
for someone's UserChatChannelMembership#last_read_message_id,
the user would end up with some read state issues until
someone posted a new message in the channel, since we didn't
clear it like we did on bulk message delete.

This commit fixes the issue, and also takes the opportunity
to start a MessagesController in the API namespace, and move
the trash message functionality into the new service format.
2023-04-04 09:30:38 +10:00
..
chat FIX: Trashing message should reset last read (#20912) 2023-04-04 09:30:38 +10:00
core_ext DEV: fixes a flakey spec (#20721) 2023-03-17 18:01:19 +01:00
chat_controller_spec.rb FIX: Trashing message should reset last read (#20912) 2023-04-04 09:30:38 +10:00
direct_messages_controller_spec.rb DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
emojis_controller_spec.rb DEV: Move `discourse-chat` to the core repo. (#18776) 2022-11-02 10:41:30 -03:00