Allow enabling encryption after room creation

Also forbid reactions
This commit is contained in:
Andrew Ferrazzutti 2021-06-06 18:20:17 -04:00
parent 11ba99e17b
commit 27fda19567
1 changed files with 3 additions and 1 deletions

View File

@ -628,9 +628,11 @@ class Portal(DBPortal, BasePortal):
"users": { "users": {
self.az.bot_mxid: 100, self.az.bot_mxid: 100,
self.main_intent.mxid: 100, self.main_intent.mxid: 100,
source.mxid: 25,
}, },
"events": { "events": {
str(EventType.REACTION): 1 str(EventType.REACTION): 100,
str(EventType.ROOM_ENCRYPTION): 25,
} }
} }
}) })