summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/timeline/RoomlistModel.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/timeline/RoomlistModel.cpp b/src/timeline/RoomlistModel.cpp

index 179c63af..cc9ff800 100644 --- a/src/timeline/RoomlistModel.cpp +++ b/src/timeline/RoomlistModel.cpp
@@ -651,14 +651,6 @@ RoomlistModel::setCurrentRoom(QString roomid) } emit currentRoomChanged(); - } else { - currentRoom_ = nullptr; - - RoomPreview p; - p.roomid_ = roomid; - currentRoomPreview_ = std::move(p); - emit currentRoomChanged(); - nhlog::ui()->debug("Switched to (empty): {}", roomid.toStdString()); } }