chat list preview stale after send #50

Closed
opened 2026-04-19 08:25:34 +00:00 by zaelgohary · 1 comment
Member

The server updates last_activity and last_message_preview on send_message, but the client's cached chat list was not refreshed. The left-rail preview drifted further out of date with every send.

Fix: after a successful send, locally patch the matching ChatPreviewData's last_message / last_message_time — cheap local update, no extra round trip.

The server updates `last_activity` and `last_message_preview` on `send_message`, but the client's cached chat list was not refreshed. The left-rail preview drifted further out of date with every send. **Fix**: after a successful send, locally patch the matching `ChatPreviewData`'s `last_message` / `last_message_time` — cheap local update, no extra round trip.
zaelgohary changed title from bug: chat list preview goes stale after sending to chat list preview stale after send 2026-04-19 08:32:19 +00:00
Author
Member

Fixed by #56.

Fixed by https://forge.ourworld.tf/lhumina_code/hero_archipelagos/pulls/56.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_archipelagos#50
No description provided.