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:
|
try:
|
||||||
message = RoomMembershipMessage(
|
message = RoomMembershipMessage(
|
||||||
event.event_id, event.sender, event.age,
|
event.event_id, event.sender, event.timestamp,
|
||||||
"has joined", "join")
|
"has joined", "join")
|
||||||
|
|
||||||
return event, message
|
return event, message
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
return event, None
|
return event, None
|
||||||
|
|
Loading…
Reference in a new issue