Missing invites #16

Merged
fair merged 2 commits from lecris/matrix-puppeteer-line:encrypt-room into master 2021-06-06 21:52:24 -04:00
1 changed files with 3 additions and 0 deletions
Showing only changes of commit 9270761b20 - Show all commits

View File

@ -635,6 +635,9 @@ class Portal(DBPortal, BasePortal):
"content": self.bridge_info, "content": self.bridge_info,
}] }]
invites = [source.mxid] invites = [source.mxid]
if self.needs_bridgebot:
invites.append(self.az.bot_mxid)
if self.config["bridge.encryption.default"] and self.matrix.e2ee: if self.config["bridge.encryption.default"] and self.matrix.e2ee:
self.encrypted = True self.encrypted = True
initial_state.append({ initial_state.append({