summary refs log tree commit diff
path: root/src/ui/RoomSettings.h
diff options
context:
space:
mode:
authortastytea <tastytea@tastytea.de>2022-01-13 05:49:32 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2022-02-10 00:48:36 +0100
commit7ebced29e9783b472027ca27e955bd38284b0206 (patch)
treec3c090c9f996899e7dacd4fee64416abdfcc4ded /src/ui/RoomSettings.h
parentHidden events: Some cleanup (diff)
downloadnheko-7ebced29e9783b472027ca27e955bd38284b0206.tar.xz
Hidden events: Make reusable read function
Diffstat (limited to '')
-rw-r--r--src/ui/RoomSettings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/RoomSettings.h b/src/ui/RoomSettings.h
index db1b6988..438ac979 100644
--- a/src/ui/RoomSettings.h
+++ b/src/ui/RoomSettings.h
@@ -134,6 +134,7 @@ private:
     void updateAccessRules(const std::string &room_id,
                            const mtx::events::state::JoinRules &,
                            const mtx::events::state::GuestAccess &);
+    void readHiddenEventsSettings(const QString &roomId = {});
 
 private:
     QString roomid_;