discourse/plugins/chat
Martin Brennan c908eeacc9
FIX: Update client lastReadMessageId on trashed message (#21697)
Followup ae3231e140, when a
message is trashed we already update the lastReadMessageId of
all users in the channel to the latest non-deleted message on
the server side. However we didn't propagate this to the client,
so in some cases when we did the following:

1. Delete the last message in the channel
2. Switch to another channel
3. Switch back to the original

We would get a 404 error from the target message ID being looked
up still being the old lastReadMessageId (now deleted) for the
user's channel membership.

All we need to do is send the last not-deleted message ID for
the channel (or thread) to all the member users.
2023-05-23 18:32:19 +02:00
..
app FIX: Update client lastReadMessageId on trashed message (#21697) 2023-05-23 18:32:19 +02:00
assets FIX: Update client lastReadMessageId on trashed message (#21697) 2023-05-23 18:32:19 +02:00
config DEV: various improvements to devex on chat (#21612) 2023-05-17 17:49:52 +02:00
db DEV: Create UserChatThreadMembership table and model (#21481) 2023-05-10 17:19:48 +02:00
lib FIX: Do not cook icon with hashtags (#21676) 2023-05-23 09:33:55 +02:00
public
spec FIX: Update client lastReadMessageId on trashed message (#21697) 2023-05-23 18:32:19 +02:00
test/javascripts FIX: Do not cook icon with hashtags (#21676) 2023-05-23 09:33:55 +02:00
plugin.rb FIX: Chat NotificationLevels extension breaking in prod (#21484) 2023-05-10 18:46:06 +02:00
README.md DEV: Chat service object initial implementation (#19814) 2023-02-13 13:09:57 +01:00

This plugin is still in active development and may change frequently

Documentation

The Discourse Chat plugin adds chat functionality to your Discourse so it can natively support both long-form and short-form communication needs of your online community.

For user documentation, see Discourse Chat.

For developer documentation, see Discourse Documentation.