Discord: no read-state sync #45

Closed
opened 2026-08-29 09:59:44 -04:00 by Salastil · 1 comment
Owner

Unread state is entirely local — Buffer.last_activity_ts and nothing else. Discord's read state is never read from READY and never written back; there is no /messages/{id}/ack call and no MESSAGE_ACK handler.

The consequence is the gap most visible to anyone using Discord on more than one device: reading a channel in moho does not clear it on your phone, and reading it on your phone does not clear it in moho. Every channel you have already dealt with elsewhere still looks unread here.

Done looks like: read state seeded from READY, acked on buffer read, and MESSAGE_ACK handled so a read elsewhere clears here. Worth doing together with #49 since both are gateway-adjacent, but this is the one people will notice.


Filed from a protocol coverage survey of the four deployed protocols, 2026-08-29 (moho 1a11250, nobilis 030707f).

Unread state is entirely local — `Buffer.last_activity_ts` and nothing else. Discord's read state is never read from `READY` and never written back; there is no `/messages/{id}/ack` call and no `MESSAGE_ACK` handler. The consequence is the gap most visible to anyone using Discord on more than one device: reading a channel in moho does not clear it on your phone, and reading it on your phone does not clear it in moho. Every channel you have already dealt with elsewhere still looks unread here. **Done looks like:** read state seeded from `READY`, acked on buffer read, and `MESSAGE_ACK` handled so a read elsewhere clears here. Worth doing together with #49 since both are gateway-adjacent, but this is the one people will notice. --- _Filed from a protocol coverage survey of the four deployed protocols, 2026-08-29 (moho `1a11250`, nobilis `030707f`)._
Salastil added the feature label 2026-08-29 09:59:44 -04:00
Author
Owner

Finished — nobilis 6c7be5a, moho 7c81024

Finished — nobilis [`6c7be5a`](https://git.salastil.com/Salastil/nobilis/commit/6c7be5a), moho [`7c81024`](https://git.salastil.com/Salastil/moho/commit/7c81024)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Salastil/moho#45