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-09 22:29:28 +0200 |
commit | 4f08c88d234119c2a76874ebd2b1433b81992427 (patch) | |
tree | bf25ea126af7626eac3db05c9c3a0ec2e382db00 /lib | |
parent | c79dcb673b6f2888faa4b62cd53689fde9f7ea10 (diff) | |
download | libquotient-4f08c88d234119c2a76874ebd2b1433b81992427.tar.gz libquotient-4f08c88d234119c2a76874ebd2b1433b81992427.zip |
Room::setDisplayed(): Don't reset unread counters
Closes #489.
Diffstat (limited to 'lib')
-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 1c84ece0..8462902f 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -924,11 +924,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; } |