Missing invite for bridgebot
Most evident at room creation, but more might need to be added
This commit is contained in:
parent
47a0284e81
commit
92fd74afa2
|
@ -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({
|
||||||
|
|
Loading…
Reference in New Issue