summary refs log tree commit diff
path: root/src/ui/NhekoGlobalObject.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-09-05 02:00:20 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-09-05 02:00:20 +0200
commit1d7575036e4682961c4696d25311e2d8cc9ce293 (patch)
treedad0ed24c1985083c2fd98a498783afa6c173338 /src/ui/NhekoGlobalObject.h
parentAttribute values can contain slashes (diff)
downloadnheko-1d7575036e4682961c4696d25311e2d8cc9ce293.tar.xz
Allow creating spaces
Diffstat (limited to '')
-rw-r--r--src/ui/NhekoGlobalObject.h8
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_);