discourse/plugins/chat/spec
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
..
components/chat DEV: Fix plugin:spec task return code (#21661) 2023-05-19 16:17:02 +02:00
fabricators DEV: various improvements to devex on chat (#21612) 2023-05-17 17:49:52 +02:00
integration FEATURE: Reintroduce better thread reply counter cache (#21197) 2023-04-24 09:32:04 +10:00
jobs DEV: Fix plugin:spec task return code (#21661) 2023-05-19 16:17:02 +02:00
lib FIX: Do not cook icon with hashtags (#21676) 2023-05-23 09:33:55 +02:00
mailers DEV: Skip channel-wide mention chat specs (#20770) 2023-03-22 12:44:01 +10:00
models FIX: Do not cook icon with hashtags (#21676) 2023-05-23 09:33:55 +02:00
queries/chat DEV: Chat API channel#show changes for threading (#21632) 2023-05-22 13:59:46 +02:00
requests DEV: Fix chat pagination spec (#21693) 2023-05-23 12:47:43 +02:00
serializer DEV: Fix plugin:spec task return code (#21661) 2023-05-19 16:17:02 +02:00
services FIX: Update client lastReadMessageId on trashed message (#21697) 2023-05-23 18:32:19 +02:00
support DEV: Fix plugin:spec task return code (#21661) 2023-05-19 16:17:02 +02:00
system FIX: Update client lastReadMessageId on trashed message (#21697) 2023-05-23 18:32:19 +02:00
validators DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
plugin_helper.rb FEATURE: Thread list initial UI (#21412) 2023-05-10 11:42:32 +02:00
plugin_spec.rb UX: update chat icon to d-chat (#20744) 2023-03-21 10:40:42 -04:00