From a724d7fe58126d71098629d971cf4d0c3920c393 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?poljar=20=28Damir=20Jeli=C4=87=29?= Date: Mon, 19 Mar 2018 12:33:45 +0100 Subject: [PATCH] rooms: Fix join event message creation. --- matrix/rooms.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/matrix/rooms.py b/matrix/rooms.py index 15d901e..b075210 100644 --- a/matrix/rooms.py +++ b/matrix/rooms.py @@ -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