Fix opening room in seperate window and unify leaving room code

This commit is contained in:
Carl Schwan
2021-04-28 15:06:57 +02:00
parent b7d98fc6d9
commit f30b17bf73
5 changed files with 27 additions and 20 deletions

View File

@@ -43,6 +43,9 @@ public:
Q_INVOKABLE void openWindow(NeoChatRoom *room);
/// Leave the room and close it if it is open.
Q_INVOKABLE void leaveRoom(NeoChatRoom *room);
/// Getter for the currentRoom property.
NeoChatRoom *currentRoom() const;