rooms: Fix join event message creation.
This commit is contained in:
parent
ee321b21d9
commit
a724d7fe58
1 changed files with 2 additions and 1 deletions
|
@ -221,8 +221,9 @@ class RoomInfo():
|
|||
|
||||
try:
|
||||
message = RoomMembershipMessage(
|
||||
event.event_id, event.sender, event.age,
|
||||
event.event_id, event.sender, event.timestamp,
|
||||
"has joined", "join")
|
||||
|
||||
return event, message
|
||||
except AttributeError:
|
||||
return event, None
|
||||
|
|
Loading…
Reference in a new issue