Matthias Nott
2026-03-22 1c57bb6f40304efceadfff17aefbbfcc64c9ad5f
refs
author Matthias Nott <mnott@mnsoft.org>
Sunday, March 22, 2026 16:30 +0100
committer Matthias Nott <mnott@mnsoft.org>
Sunday, March 22, 2026 16:30 +0100
commit1c57bb6f40304efceadfff17aefbbfcc64c9ad5f
tree 62e1a1a5eb1cd777ab00a524ca3a666a5f45cb3b tree | zip | gz
parent 69c37c43074ad20ab9c7a5b7f4464863c4d298d4 view | diff
fix: disable catch_up replay to prevent message loss

Catch-up was replaying all server messages on every reconnect,
causing duplicate assistant messages and overwriting user messages.
Local storage is now the source of truth. Catch-up only updates
lastSeq for protocol tracking. New messages while offline are
stored via _storeForSession from the DIRECT broadcast path.

Also: SharedPreferences save awaited properly, image cache for
flicker prevention, screenshot snackbar indicator.
1 files modified
changed files
lib/screens/chat_screen.dart diff | view | blame | history