mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 14:19:23 -05:00
Use state_key rather than target_user_id
This commit is contained in:
parent
ac21dfff6d
commit
a29d12a18a
@ -114,7 +114,7 @@ class FederationHandler(BaseHandler):
|
||||
|
||||
if event.type == RoomMemberEvent.TYPE:
|
||||
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(
|
||||
"user_joined_room", user=user, room_id=event.room_id
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user