forked from MirrorHub/synapse
SYN-46: An invite received from fedearation didn't wake up the event stream for the invited user.
This commit is contained in:
parent
9d3246ed12
commit
1ca51c8586
1 changed files with 9 additions and 1 deletions
|
@ -169,7 +169,15 @@ class FederationHandler(BaseHandler):
|
|||
)
|
||||
|
||||
if not backfilled:
|
||||
yield self.notifier.on_new_room_event(event)
|
||||
extra_users = []
|
||||
if event.type == RoomMemberEvent.TYPE:
|
||||
target_user_id = event.state_key
|
||||
target_user = self.hs.parse_userid(target_user_id)
|
||||
extra_users.append(target_user)
|
||||
|
||||
yield self.notifier.on_new_room_event(
|
||||
event, extra_users=extra_users
|
||||
)
|
||||
|
||||
if event.type == RoomMemberEvent.TYPE:
|
||||
if event.membership == Membership.JOIN:
|
||||
|
|
Loading…
Reference in a new issue