forked from MirrorHub/synapse
Use state_key rather than target_user_id
This commit is contained in:
parent
ac21dfff6d
commit
a29d12a18a
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class FederationHandler(BaseHandler):
|
||||||
|
|
||||||
if event.type == RoomMemberEvent.TYPE:
|
if event.type == RoomMemberEvent.TYPE:
|
||||||
if event.membership == Membership.JOIN:
|
if event.membership == Membership.JOIN:
|
||||||
user = self.hs.parse_userid(event.target_user_id)
|
user = self.hs.parse_userid(event.state_key)
|
||||||
self.distributor.fire(
|
self.distributor.fire(
|
||||||
"user_joined_room", user=user, room_id=event.room_id
|
"user_joined_room", user=user, room_id=event.room_id
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue