Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Nov 30, 2019
1 parent 8e20d56 commit 792694b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mautrix_telegram/matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ async def handle_kick_ban(self, ban: bool, room_id: RoomID, user_id: UserID, sen
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()
Expand Down

0 comments on commit 792694b

Please sign in to comment.