Skip to content
Snippets Groups Projects
Commit f457b73f authored by Sébastien Blin's avatar Sébastien Blin
Browse files

conversation: store last displayed messages

With this patch, the daemon is now storing informations based
on setMessageDisplayed/onMessageDisplayed to follow the read
status per participant.

This avoid to creates a logic in all clients and allow the client
to have a correct read status even if the daemon was launched
separately.
Clients can now:

+ Retrieve last displayed interactions by retrieving members infos
(via getConversationMembers() and the key "lastDisplayed")
+ Know how many messages there between the head and a commit. This
is useful to count unread messages for a peer.

GitLab: #592
Change-Id: I0b5bc7adb5cda48754f33a362a40ce10ee345e3c
parent bd3eba9d
No related branches found
No related tags found
No related merge requests found
Showing
with 239 additions and 8 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment