discourse/plugins/chat/app
Joffrey JAFFEUX a96ace858e
FIX: client based chat message timestamp (#34592)
Uses the timestamp at the moment where the user hits send for the
created_at value of the chat message. This should ensure very consistent
ordering.

The implementation is simple:
- collects the timestamp and send it in the request (client_created_at)
- if client_created_at is present and valid, set it as created_at when
creating the message

I suspect that we could end up in a situation where a message is routed
to a slower worker and even if sent before an other message could end up
being persisted before the first message which would cause ordering issues.
2025-08-28 10:21:19 +01:00
..
controllers/chat DEV: Unify ListChannelMessages/ListChannelThreadMessages behaviors 2025-08-25 13:48:02 +02:00
jobs FIX: Error when leaving group DM channel (#31537) 2025-02-27 14:26:07 +10:00
models FIX: supports html entities in chat (#34591) 2025-08-28 07:34:24 +02:00
queries/chat DEV: allows chat thread sdk to query more messages (#32914) 2025-06-02 09:29:24 +02:00
serializers/chat DEV: Refactor Chat::ListChannelMessages service a bit 2025-06-23 14:18:49 +02:00
services/chat FIX: client based chat message timestamp (#34592) 2025-08-28 10:21:19 +01:00
validators/chat FEATURE: Add setting to prevent anonymous users from using chat (#31842) 2025-03-21 13:32:52 +03:00
views PERF: fix performance of chat email notifications 2024-06-10 14:25:06 +02:00