diff options
Diffstat (limited to 'src/ChatPage.h')
-rw-r--r-- | src/ChatPage.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ChatPage.h b/src/ChatPage.h index c0f0b559..fd1711c5 100644 --- a/src/ChatPage.h +++ b/src/ChatPage.h @@ -74,6 +74,9 @@ public: void startChat(QString userid, std::optional<bool> encryptionEnabled); + //! Check if the given room is currently open. + bool isRoomActive(const QString &room_id); + public slots: bool handleMatrixUri(QString uri); bool handleMatrixUri(const QUrl &uri); @@ -193,9 +196,6 @@ private: void getProfileInfo(); void getBackupVersion(); - //! Check if the given room is currently open. - bool isRoomActive(const QString &room_id); - using UserID = QString; using Membership = mtx::events::StateEvent<mtx::events::state::Member>; using Memberships = std::map<std::string, Membership>; |