diff --git a/src/gui/MainPane/RoomList.qml b/src/gui/MainPane/RoomList.qml index d055ff2d..27b8010b 100644 --- a/src/gui/MainPane/RoomList.qml +++ b/src/gui/MainPane/RoomList.qml @@ -43,11 +43,7 @@ HListView { } function goToAccount(userId) { - accountIndice[userId] + 1 <= model.count -1 && - model.get(accountIndice[userId] + 1).type === "Room" ? - currentIndex = accountIndice[userId] + 1 : currentIndex = accountIndice[userId] - showItemLimiter.restart() }