Files
buzz/mobile/lib/features/channels
Tom Brow a8738761e0 fix(mobile): catch up unread from the newest message already seen
Every channel refresh path (resume, reconnect backstop, join) re-ran the
unread catch-up from each channel's read timestamp, with up to 1000 full
messages per channel. On a measured cold start that batch was 3.2MB of
gzip on the wire, and it repeated on each refresh. On an Edge-class link
it cannot finish inside the 8s history timeout, so it never completes.

A later catch-up in the same session now starts 60s before the newest
message an earlier one returned for that channel (capped at the request
time). Unread results are unchanged: messages before that point were
already recorded or skipped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tom Brow <tomb@squareup.com>
2026-11-01 13:47:00 -08:00
..