diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-09-05 02:00:20 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-09-05 02:00:20 +0200 |
commit | 1d7575036e4682961c4696d25311e2d8cc9ce293 (patch) | |
tree | dad0ed24c1985083c2fd98a498783afa6c173338 /src/ui/NhekoGlobalObject.h | |
parent | Attribute values can contain slashes (diff) | |
download | nheko-1d7575036e4682961c4696d25311e2d8cc9ce293.tar.xz |
Allow creating spaces
Diffstat (limited to '')
-rw-r--r-- | src/ui/NhekoGlobalObject.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ui/NhekoGlobalObject.h b/src/ui/NhekoGlobalObject.h index a63c7846..e9034ebc 100644 --- a/src/ui/NhekoGlobalObject.h +++ b/src/ui/NhekoGlobalObject.h @@ -56,8 +56,12 @@ public: Q_INVOKABLE void setStatusMessage(QString msg) const; Q_INVOKABLE void showUserSettingsPage() const; Q_INVOKABLE void logout() const; - Q_INVOKABLE void - createRoom(QString name, QString topic, QString aliasLocalpart, bool isEncrypted, int preset); + Q_INVOKABLE void createRoom(bool space, + QString name, + QString topic, + QString aliasLocalpart, + bool isEncrypted, + int preset); Q_INVOKABLE PowerlevelEditingModels *editPowerlevels(QString room_id_) const { return new PowerlevelEditingModels(room_id_); |