mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix being dropped into an empty room after a join
This commit is contained in:
parent
c6ae336c30
commit
0a6ac211f1
1 changed files with 0 additions and 8 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue