From 7ebced29e9783b472027ca27e955bd38284b0206 Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 13 Jan 2022 05:49:32 +0100 Subject: Hidden events: Make reusable read function --- src/ui/RoomSettings.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui/RoomSettings.h') 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_; -- cgit 1.5.1