diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2016-10-28 16:59:57 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2016-10-28 17:03:19 +0900 |
commit | c0d5d26a77d09d2a7e339cf67b60dd319d3f34e8 (patch) | |
tree | a4177b28bd45d0c731064526aceef6b9413c8a13 /events/roommessageevent.h | |
parent | 8e2113199710b6a2396ddad0f48d9e7ea06f8cc7 (diff) | |
download | libquotient-c0d5d26a77d09d2a7e339cf67b60dd319d3f34e8.tar.gz libquotient-c0d5d26a77d09d2a7e339cf67b60dd319d3f34e8.zip |
Implemented unread messages indication on the lib side
The implementation allows further extension to actually counting unread messages (in their Room::isEventNotable() sense - see the code) but so far just replicates what Quaternion previously provided. The only difference from the Quaternion implementation is that last own message is not marked as read immediately - so that we can allow the local user to send messages while staying with the read marker well above. This implies, though, that the read marker won't reset to the timeline bottom at any movement of the user - rather that it resets to the bottom of the current view (which is the ultimately correct behaviour, anyway).
Diffstat (limited to 'events/roommessageevent.h')
0 files changed, 0 insertions, 0 deletions