diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-08-01 17:47:56 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-08-01 17:47:56 +0200 |
commit | b17867c2b74916055adbc158cdf6437b27bceb14 (patch) | |
tree | c195cbd76150dd1de37bb9f33d629b6d9738e793 | |
parent | e4a8251d90c2e9f2847366085b3a2897a2d02201 (diff) | |
download | libquotient-b17867c2b74916055adbc158cdf6437b27bceb14.tar.gz libquotient-b17867c2b74916055adbc158cdf6437b27bceb14.zip |
Room::setDisplayed(): Don't reset unread counters
Closes #489.
-rw-r--r-- | lib/room.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/room.cpp b/lib/room.cpp index 7242c32e..029ff786 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -943,11 +943,8 @@ void Room::setDisplayed(bool displayed) d->displayed = displayed; emit displayedChanged(displayed); - if (displayed) { - resetHighlightCount(); - resetNotificationCount(); + if (displayed) d->getAllMembers(); - } } QString Room::firstDisplayedEventId() const { return d->firstDisplayedEventId; } |