Files
buzz/mobile/test
Tom Brow f71c6c7600 fix(mobile): start a repeated catch-up before the relay's drift window
A repeated unread catch-up started 60s before the newest message an
earlier one returned. A message that reaches the relay late with an
older created_at, such as one composed offline, could fall before that
start and never count as unread.

The relay rejects events whose created_at is more than 900s from its
clock, so the next catch-up now starts relayLiveWindowSkewSeconds
(960s, as reconnect replay uses) before the previous one was sent. That
covers every message stored since, however late, and needs no event
timestamps.

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