discourse/plugins
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
..
chat FIX: Update client lastReadMessageId on trashed message (#21697) 2023-05-23 18:32:19 +02:00
discourse-details Update translations (#21583) 2023-05-16 19:40:01 +02:00
discourse-lazy-videos DEV: Fix random typos (#21638) 2023-05-18 15:34:46 +02:00
discourse-local-dates Update translations (#21583) 2023-05-16 19:40:01 +02:00
discourse-narrative-bot Update translations (#21583) 2023-05-16 19:40:01 +02:00
discourse-presence Update translations (#20370) 2023-02-20 11:01:01 +01:00
poll Update translations (#21583) 2023-05-16 19:40:01 +02:00
styleguide DEV: Improve manual color scheme toggle in styleguide (#21629) 2023-05-18 07:31:20 +02:00