
yml2213andClaude Opus 4.8
e75a39b03a
新增消息已读状态
复用 chat_participants.last_read_at 推导已读,无需新表/迁移。
- 后端:MessageDTO 增加 is_read,toMessageDTOs 按「全部已读」语义计算
(所有其他参与者均已读才算已读,1对1 即对方已读);MarkRead 成功后
推送 conversation_read 事件(含 reader 与 read_at),NotifyConversation
与 NotifyAllAdmins 双通道通知,使发送方/客服实时刷新已读
- 前端:ChatMessage 增加 is_read,ChatView/AdminChatsView/MobileChatView
在自己的消息下渲染「已读/未读」;收到 conversation_read 且本端仍有
未获回执的自己消息时才重载,避免无谓请求
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 22:22:05 +08:00
..
2026-06-02 21:40:23 +08:00
2026-06-12 21:16:08 +08:00
2026-06-14 17:53:24 +08:00
2026-06-10 15:43:36 +08:00
2026-06-14 17:53:24 +08:00
2026-05-22 15:05:28 +08:00
2026-06-15 00:53:05 +08:00
2026-06-14 23:58:39 +08:00
2026-06-02 21:40:23 +08:00
2026-06-11 07:23:00 +08:00
2026-06-14 23:38:03 +08:00
2026-06-16 22:22:05 +08:00
2026-06-15 20:37:13 +08:00
2026-06-07 20:42:57 +08:00
2026-06-03 12:21:23 +08:00