summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEmi Simpson <emi@alchemi.dev>2020-03-13 20:52:42 -0400
committerEmi Simpson <emi@alchemi.dev>2020-03-13 20:52:42 -0400
commit0153dc7a390aa8c7f5dc33973e80ef6676b45f1e (patch)
tree10b28bccc4d8f949fc38f275f47355d5a6fa8f56 /src
parentFixed channels appearing out of order when only mentions were present, withou... (diff)
downloadnheko-0153dc7a390aa8c7f5dc33973e80ef6676b45f1e.tar.xz
Automatically move rooms down in the list once they've been read
Diffstat (limited to 'src')
-rw-r--r--src/RoomList.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/RoomList.cpp b/src/RoomList.cpp

index 977cac99..fba910a7 100644 --- a/src/RoomList.cpp +++ b/src/RoomList.cpp
@@ -123,6 +123,8 @@ RoomList::updateUnreadMessageCount(const QString &roomid, int count, int highlig rooms_[roomid]->updateUnreadMessageCount(count, highlightedCount); calculateUnreadMessageCount(); + + sortRoomsByLastMessage(); } void