discourse/plugins/chat/app/services
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
service DEV: Fix random typos (#20937) 2023-04-03 19:27:32 +02:00
service.rb DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00