diff --git a/src/gui/MainPane/RoomList.qml b/src/gui/MainPane/RoomList.qml index 7af9b46e..65c44d19 100644 --- a/src/gui/MainPane/RoomList.qml +++ b/src/gui/MainPane/RoomList.qml @@ -18,6 +18,12 @@ HListView { Account { width: roomList.width filterActive: Boolean(filter) + isCurrent: + currentIndex !== -1 && + ( + roomList.model.get(currentIndex).for_account || + roomList.model.get(currentIndex).id + ) === model.id } }