This commit is contained in:
Tulir Asokan
2019-11-30 16:09:20 +02:00
parent 8e20d56091
commit 792694b2d9
+1 -1
View File
@@ -183,7 +183,7 @@ class MatrixHandler(BaseMatrixHandler):
if not portal:
return
if sender == self.az.bot_mxid:
if user_id == self.az.bot_mxid:
# Direct chat portal unbridging is handled in portal.kick_matrix
if portal.peer_type != "user":
await portal.unbridge()