From 27fda19567e58d9bb5c08d76de5c9b0e72b2718a Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Sun, 6 Jun 2021 18:20:17 -0400 Subject: [PATCH] Allow enabling encryption after room creation Also forbid reactions --- matrix_puppeteer_line/portal.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/matrix_puppeteer_line/portal.py b/matrix_puppeteer_line/portal.py index 899a112..746084a 100644 --- a/matrix_puppeteer_line/portal.py +++ b/matrix_puppeteer_line/portal.py @@ -628,9 +628,11 @@ class Portal(DBPortal, BasePortal): "users": { self.az.bot_mxid: 100, self.main_intent.mxid: 100, + source.mxid: 25, }, "events": { - str(EventType.REACTION): 1 + str(EventType.REACTION): 100, + str(EventType.ROOM_ENCRYPTION): 25, } } })