encryption: add ability to control rotation settings

Signed-off-by: Sumner Evans <sumner@beeper.com>
This commit is contained in:
Sumner Evans
2022-06-21 14:47:23 -06:00
committed by Tulir Asokan
parent f18713cd5e
commit 05d4923db9
4 changed files with 20 additions and 8 deletions
+1 -1
View File
@@ -832,7 +832,7 @@ class Portal(DBPortal, BasePortal):
initial_state.append(
{
"type": str(EventType.ROOM_ENCRYPTION),
"content": {"algorithm": "m.megolm.v1.aes-sha2"},
"content": self.get_encryption_state_event_json(),
}
)
if self.is_direct: