android: add deferred offline queue for send edit delete actions
Some checks failed
CI / test (push) Failing after 2m21s
Some checks failed
CI / test (push) Failing after 2m21s
This commit is contained in:
@@ -347,3 +347,9 @@
|
||||
### Step 58 - Keep authenticated session when offline at app start
|
||||
- Updated auth restore flow in `AuthViewModel`: network errors during session restore no longer force logout when local tokens exist.
|
||||
- App now opens authenticated flow in offline mode instead of redirecting to login.
|
||||
|
||||
### Step 59 - Deferred message action queue (send/edit/delete)
|
||||
- Added Room-backed pending action queue (`pending_message_actions`) for message operations that fail due to network issues.
|
||||
- Implemented enqueue + optimistic behavior for `sendText`, `editMessage`, and `deleteMessage` on network failures.
|
||||
- Added automatic pending-action flush on chat sync/load-more and before new message operations.
|
||||
- Kept non-network server failures as immediate errors (no queueing), while allowing offline continuation.
|
||||
|
||||
Reference in New Issue
Block a user