You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I might be able to find the time to take a look at this. It /appears/ to be a more simple project:
When a message is received, queue up a message receipt, and send it in a resilient way (avoid a bug where the receipt doesn't get sent because of hardware shutdown etc). Maybe this should be more of a client-exposed feature, i.e., implement message.acknowledge or acknowledge(message_id)?
When receiving a receipt, mark the message as read.
Group chats might complicate things a bit, I am not sure.
w.r.t the API, you're definitely right that presage would benefit from having a queue of messages that are waiting to be sent and this is kind of the reason why we currently don't have this (read receipts). Sending messages interleaved with receiving messages, especially when syncing, makes everything dead slow.
If you feel up for it, maybe we can start by adding a method in the public API like you suggested? Something like Manager::mark_message_as_read(id)?
And mark messages as seen/read in the store.
The text was updated successfully, but these errors were encountered: