mirror of
https://github.com/element-hq/synapse
synced 2024-09-11 01:55:11 +00:00
Fix bug where we used UserID objects instead of strigns
This commit is contained in:
parent
64e927108b
commit
b485d622cc
1 changed files with 2 additions and 1 deletions
|
@ -325,7 +325,8 @@ class RoomMemberHandler(BaseRoomHandler):
|
||||||
)
|
)
|
||||||
|
|
||||||
snapshot = yield self.store.snapshot_room(
|
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)
|
yield self._do_join(new_event, snapshot, room_host=host, do_auth=True)
|
||||||
|
|
Loading…
Reference in a new issue