From 9270761b206518335e4537109e356610c87929a6 Mon Sep 17 00:00:00 2001 From: Cristian Le Date: Fri, 4 Jun 2021 19:29:44 +0900 Subject: [PATCH] Missing invite for bridgebot Most evident at room creation, but more might need to be added --- matrix_puppeteer_line/portal.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/matrix_puppeteer_line/portal.py b/matrix_puppeteer_line/portal.py index f03d86c..aac255c 100644 --- a/matrix_puppeteer_line/portal.py +++ b/matrix_puppeteer_line/portal.py @@ -635,6 +635,9 @@ class Portal(DBPortal, BasePortal): "content": self.bridge_info, }] invites = [source.mxid] + if self.needs_bridgebot: + invites.append(self.az.bot_mxid) + if self.config["bridge.encryption.default"] and self.matrix.e2ee: self.encrypted = True initial_state.append({