From 37679ac57ec79d112a76bd8afb0dfea7e433da80 Mon Sep 17 00:00:00 2001 From: Jedi18 Date: Tue, 9 Feb 2021 23:11:39 +0530 Subject: added room settings qml --- src/timeline/TimelineViewManager.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/timeline/TimelineViewManager.h') 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 &event_ids); -- cgit 1.5.1