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()); } }