discourse/plugins/chat/app
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
..
controllers/chat FIX: Trashing message should reset last read (#20912) 2023-04-04 09:30:38 +10:00
helpers/chat FEATURE: Mark all chat channels read with a shortcut (#20629) 2023-03-22 13:24:07 +10:00
jobs DEV: Drop chat_uploads table and model and remove old references (#20926) 2023-04-04 09:13:39 +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
serializers/chat 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
validators/chat DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
views