summary refs log tree commit diff
path: root/src/Cache_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Cache_p.h')
-rw-r--r--src/Cache_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Cache_p.h b/src/Cache_p.h

index 09fc277d..b6c555dc 100644 --- a/src/Cache_p.h +++ b/src/Cache_p.h
@@ -221,6 +221,8 @@ public: //! Mark a room that uses e2e encryption. void setEncryptedRoom(lmdb::txn &txn, const std::string &room_id); bool isRoomEncrypted(const std::string &room_id); + std::optional<mtx::events::state::Encryption> roomEncryptionSettings( + const std::string &room_id); //! Check if a user is a member of the room. bool isRoomMember(const std::string &user_id, const std::string &room_id);