diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-03-29 04:50:25 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-03-29 20:51:18 +0200 |
commit | 6d1416fb6ec7e64a765af652ea3b21722ec12be3 (patch) | |
tree | e5a7f21a13cb9aa7e4a737dd52c243da78622300 /src/ChatPage.h | |
parent | d7cb2bd64734adb6938b85ac28075c2c8e8d25e0 (diff) |
Add backend for new room creation dialogs
Diffstat (limited to 'src/ChatPage.h')
-rw-r--r-- | src/ChatPage.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ChatPage.h b/src/ChatPage.h index e4b9e4e8..f43a008d 100644 --- a/src/ChatPage.h +++ b/src/ChatPage.h @@ -74,12 +74,13 @@ public: // TODO(Nico): Get rid of this! QString currentRoom() const; + void startChat(QString userid, std::optional<bool> encryptionEnabled); public slots: bool handleMatrixUri(QString uri); bool handleMatrixUri(const QUrl &uri); - void startChat(QString userid); + void startChat(QString userid) { startChat(userid, std::nullopt); } void leaveRoom(const QString &room_id); void createRoom(const mtx::requests::CreateRoom &req); void joinRoom(const QString &room); |