Task 7 — Read receipts, delivered status and message synchronization
Title: sync: implement message status (delivered/read) updates and sync across devices
Description
- When a message is broadcast, mark
status='delivered' for recipients whose sockets acknowledged the message (consumer should send ack).
- When user marks messages read (via
mark_read or automatically when viewing), update message docs and emit read_receipt via Channels to other participants.
- Ensure state changes persisted and visible via REST APIs (message status fields).
Acceptance
Dependencies
Notes
- Acknowledgement protocol should be lightweight (client emits
ack with message id upon receipt).
Task 7 — Read receipts, delivered status and message synchronization
Title: sync: implement message status (delivered/read) updates and sync across devices
Description
status='delivered'for recipients whose sockets acknowledged the message (consumer should send ack).mark_reador automatically when viewing), update message docs and emitread_receiptvia Channels to other participants.Acceptance
Unit/integration test showing:
Dependencies
Notes
ackwith message id upon receipt).