From b485d622ccd53869e84a681ed82677f03cc0900b Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Thu, 28 Aug 2014 13:40:12 +0100 Subject: Fix bug where we used UserID objects instead of strigns --- synapse/handlers/room.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'synapse/handlers') diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index eb638fe50a..3e41d7a46b 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -325,7 +325,8 @@ class RoomMemberHandler(BaseRoomHandler): ) snapshot = yield self.store.snapshot_room( - room_id, joinee, RoomMemberEvent.TYPE, joinee + room_id, joinee.to_string(), RoomMemberEvent.TYPE, + joinee.to_string() ) yield self._do_join(new_event, snapshot, room_host=host, do_auth=True) -- cgit 1.4.1