Open gferon opened 1 year ago
I might be able to find the time to take a look at this. It /appears/ to be a more simple project:
message.acknowledge
or acknowledge(message_id)
? Group chats might complicate things a bit, I am not sure.
Anything I need to know/read before hacking?
Sounds good, any help is appreciated!
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.