discourse/plugins/chat/app
Martin Brennan 8437081d94
FIX: Add MessageBust.last_id to chat channel subscriptions (#19255)
This commit adds variousMessageBus.last_ids to serializer payloads
for chat channels and the chat view (for chat live pane) so
we can use those IDs when subscribing to MessageBus channels
from chat.

This allows us to ensure that any messages created between the
server being hit and the UI loaded and subscribing end up being
delivered to the client, rather than just silently dropped.

This commit also fixes an issue where we were subscribing to
the new-messages and new-mentions MessageBus channels multiple
times when following/unfollowing a channel multiple times.
2022-12-02 10:57:53 +10:00
..
controllers SECURITY: Limit chat message char length (#19207) 2022-11-28 10:48:30 +10:00
core_ext
jobs FEATURE: Deleting a user with their posts also deletes chat messages. (#19194) 2022-11-28 13:32:57 -03:00
models FIX: Unsilence users on chat message flag disagree. (#19198) 2022-11-28 11:11:35 -03:00
queries
serializers FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
services FEATURE: Deleting a user with their posts also deletes chat messages. (#19194) 2022-11-28 13:32:57 -03:00
views