summary refs log tree commit diff
path: root/src/timeline/TimelineViewManager.h
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 /src/timeline/TimelineViewManager.h
parentMerge pull request #445 from Jedi18/avatar_username_feature (diff)
downloadnheko-37679ac57ec79d112a76bd8afb0dfea7e433da80.tar.xz
added room settings qml
Diffstat (limited to 'src/timeline/TimelineViewManager.h')
-rw-r--r--src/timeline/TimelineViewManager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/timeline/TimelineViewManager.h b/src/timeline/TimelineViewManager.h
index 74128865..841e0bcb 100644
--- a/src/timeline/TimelineViewManager.h
+++ b/src/timeline/TimelineViewManager.h
@@ -18,6 +18,7 @@
 #include "WebRTCSession.h"
 #include "emoji/EmojiModel.h"
 #include "emoji/Provider.h"
+#include "dialogs/RoomSettings.h"
 
 class MxcImageProvider;
 class BlurhashProvider;
@@ -69,7 +70,7 @@ public:
         Q_INVOKABLE void openInviteUsersDialog();
         Q_INVOKABLE void openMemberListDialog() const;
         Q_INVOKABLE void openLeaveRoomDialog() const;
-        Q_INVOKABLE void openRoomSettings() const;
+        Q_INVOKABLE void openRoomSettings();
         Q_INVOKABLE void removeVerificationFlow(DeviceVerificationFlow *flow);
 
         void verifyUser(QString userid);
@@ -87,6 +88,7 @@ signals:
         void showRoomList();
         void narrowViewChanged();
         void focusChanged();
+        void openRoomSettingsDialog();
 
 public slots:
         void updateReadReceipts(const QString &room_id, const std::vector<QString> &event_ids);