diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-11-21 06:03:49 +0100 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-11-21 07:07:00 +0100 |
commit | 96f3daf7a2c4ec875904c11350c93612265e2eed (patch) | |
tree | c53404fd7c888ec5bd14fd51fabe18c8eb1ba8d6 /lib/uri.cpp | |
parent | bf5f209d2d237301c65cc0973f1707b9386f3110 (diff) | |
download | libquotient-96f3daf7a2c4ec875904c11350c93612265e2eed.tar.gz libquotient-96f3daf7a2c4ec875904c11350c93612265e2eed.zip |
SyncData: support MSC2654; partiallyReadCount
Since MSC2654's unread count is counted from the m.read receipt, and
the course is to follow the spec's terminology and use "unread count"
for the number of notable events since m.read, this required to move
the existing number of notable events since m.fully_read to another
field, henceforth called partiallyReadCount. At the same time,
SyncData::notificationCount is dropped completely since MSC2654 claims
to supersede it.
Also: Room::resetNotificationCount() and Room::resetHighlightCount() are
deprecated, as these never worked properly overwriting values that can
be calculated or sourced from the server, only for these values to be
set back again the next time the room is updated from /sync.
Diffstat (limited to 'lib/uri.cpp')
0 files changed, 0 insertions, 0 deletions