Fix bug where we used UserID objects instead of strigns

This commit is contained in:
Erik Johnston 2014-08-28 13:40:12 +01:00
parent 64e927108b
commit b485d622cc

View File

@ -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)