Fix bridge_matrix_leave config option

This commit is contained in:
Tulir Asokan
2022-03-14 12:00:14 +02:00
parent 7df93485d8
commit 9e73324a20
+1 -1
View File
@@ -1466,7 +1466,7 @@ class Portal(DBPortal, BasePortal):
del self.by_mxid[self.mxid]
except KeyError:
pass
elif self.config["bridge.kick_on_logout"]:
elif self.config["bridge.bridge_matrix_leave"]:
await user.client.delete_dialog(self.peer)
async def join_matrix(self, user: u.User, event_id: EventID) -> None: