rooms: Fix the nick in quit messages.
This commit is contained in:
parent
a1b6087bf4
commit
57718f82e9
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ class RoomInfo():
|
||||||
msg = ("has left" if event.sender == event.leaving_user else
|
msg = ("has left" if event.sender == event.leaving_user else
|
||||||
"has been kicked")
|
"has been kicked")
|
||||||
message = RoomMembershipMessage(
|
message = RoomMembershipMessage(
|
||||||
event.event_id, event.sender, event.age, msg, "quit")
|
event.event_id, event.leaving_user, event.age, msg, "quit")
|
||||||
return event, message
|
return event, message
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
return event, None
|
return event, None
|
||||||
|
|
Loading…
Reference in a new issue