summary refs log tree commit diff
path: root/resources/qml/TimelineView.qml
diff options
context:
space:
mode:
authorJedi18 <targetakhil@gmail.com>2021-02-09 23:11:39 +0530
committerJedi18 <targetakhil@gmail.com>2021-02-09 23:11:39 +0530
commit37679ac57ec79d112a76bd8afb0dfea7e433da80 (patch)
treeb499da6b9d6948184172ad527151a8f7b1a853b7 /resources/qml/TimelineView.qml
parentMerge pull request #445 from Jedi18/avatar_username_feature (diff)
downloadnheko-37679ac57ec79d112a76bd8afb0dfea7e433da80.tar.xz
added room settings qml
Diffstat (limited to 'resources/qml/TimelineView.qml')
-rw-r--r--resources/qml/TimelineView.qml16
1 files changed, 16 insertions, 0 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml
index c03e8d31..c6c1e2b2 100644
--- a/resources/qml/TimelineView.qml
+++ b/resources/qml/TimelineView.qml
@@ -53,6 +53,14 @@ Page {
     }
 
     Component {
+        id: roomSettingsComponent
+
+        RoomSettings {
+        }
+
+    }
+
+    Component {
         id: mobileCallInviteDialog
 
         CallInvite {
@@ -167,6 +175,14 @@ Page {
         }
 
         Connections {
+            target: TimelineManager
+            onOpenRoomSettingsDialog: {
+                var roomSettings = roomSettingsComponent.createObject(timelineRoot);
+                roomSettings.show();
+            }
+        }
+
+        Connections {
             target: CallManager
             onNewInviteState: {
                 if (CallManager.haveCallInvite && Settings.mobileMode) {