File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
crates/matrix-sdk-crypto/src/store Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1163,6 +1163,7 @@ macro_rules! cryptostore_integration_tests {
1163
1163
let room_1 = room_id!( "!test_1:localhost" ) ;
1164
1164
let settings_1 = RoomSettings {
1165
1165
algorithm: EventEncryptionAlgorithm :: MegolmV1AesSha2 ,
1166
+ enable_encrypted_state_events: false ,
1166
1167
only_allow_trusted_devices: true ,
1167
1168
session_rotation_period: Some ( Duration :: from_secs( 10 ) ) ,
1168
1169
session_rotation_period_messages: Some ( 123 ) ,
Original file line number Diff line number Diff line change @@ -411,6 +411,9 @@ pub struct RoomSettings {
411
411
/// The encryption algorithm that should be used in the room.
412
412
pub algorithm : EventEncryptionAlgorithm ,
413
413
414
+ /// Whether state event encryption is enabled.
415
+ pub enable_encrypted_state_events : bool ,
416
+
414
417
/// Should untrusted devices receive the room key, or should they be
415
418
/// excluded from the conversation.
416
419
pub only_allow_trusted_devices : bool ,
@@ -428,6 +431,7 @@ impl Default for RoomSettings {
428
431
fn default ( ) -> Self {
429
432
Self {
430
433
algorithm : EventEncryptionAlgorithm :: MegolmV1AesSha2 ,
434
+ enable_encrypted_state_events : false ,
431
435
only_allow_trusted_devices : false ,
432
436
session_rotation_period : None ,
433
437
session_rotation_period_messages : None ,
You can’t perform that action at this time.
0 commit comments