From 1d7575036e4682961c4696d25311e2d8cc9ce293 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Mon, 5 Sep 2022 02:00:20 +0200 Subject: Allow creating spaces --- src/ui/NhekoGlobalObject.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/ui/NhekoGlobalObject.h') 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_); -- cgit 1.5.1