Fix typo
This commit is contained in:
@@ -183,7 +183,7 @@ class MatrixHandler(BaseMatrixHandler):
|
|||||||
if not portal:
|
if not portal:
|
||||||
return
|
return
|
||||||
|
|
||||||
if sender == self.az.bot_mxid:
|
if user_id == self.az.bot_mxid:
|
||||||
# Direct chat portal unbridging is handled in portal.kick_matrix
|
# Direct chat portal unbridging is handled in portal.kick_matrix
|
||||||
if portal.peer_type != "user":
|
if portal.peer_type != "user":
|
||||||
await portal.unbridge()
|
await portal.unbridge()
|
||||||
|
|||||||
Reference in New Issue
Block a user