discourse/plugins/chat/spec
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
..
components/chat DEV: Drop chat_uploads table and model and remove old references (#20926) 2023-04-04 09:13:39 +10:00
fabricators DEV: Drop chat_uploads table and model and remove old references (#20926) 2023-04-04 09:13:39 +10:00
integration FEATURE: Auto-remove users without permission from channel (#20344) 2023-03-22 10:19:59 +10:00
jobs DEV: Drop chat_uploads table and model and remove old references (#20926) 2023-04-04 09:13:39 +10:00
lib DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
mailers DEV: Skip channel-wide mention chat specs (#20770) 2023-03-22 12:44:01 +10:00
models DEV: Drop chat_uploads table and model and remove old references (#20926) 2023-04-04 09:13:39 +10:00
queries/chat DEV: Introduce bulk channel tracking publisher (#20838) 2023-03-28 09:36:28 +10:00
requests FIX: Trashing message should reset last read (#20912) 2023-04-04 09:30:38 +10:00
serializer DEV: Add specs to ChannelSerializer and StructuredChannelSerializer (#20872) 2023-03-30 12:16:32 +10:00
services FIX: Trashing message should reset last read (#20912) 2023-04-04 09:30:38 +10:00
support DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
system FIX: ensures removing a reaction doesn’t remove others (#20869) 2023-03-29 08:39:52 +02:00
validators DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
plugin_helper.rb DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
plugin_spec.rb UX: update chat icon to d-chat (#20744) 2023-03-21 10:40:42 -04:00