android: extend realtime pipeline for message stream updates
Some checks failed
CI / test (push) Failing after 2m16s

This commit is contained in:
Codex
2026-03-09 02:08:13 +03:00
parent 5a0add4d5c
commit c63f063726
4 changed files with 103 additions and 0 deletions

View File

@@ -78,3 +78,9 @@
- Added `MessageRepository` contracts/use-cases for observe/sync/pagination/send/edit/delete.
- Implemented `NetworkMessageRepository` with cache-first observation and optimistic text send.
- Wired message API and repository into Hilt modules.
### Step 13 - Sprint A / 3) Message realtime integration
- Extended realtime event model/parser with message-focused events (`message_delivered`, `message_read`, `typing_start`, `typing_stop`) and richer message payload mapping.
- Updated unified realtime handler to write `receive_message`, `message_updated`, `message_deleted` into `messages` Room state.
- Added delivery/read status updates in Room for message status events.
- Kept chat list sync updates in the same manager/use-case pipeline for consistency.