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
|
@ -169,7 +169,15 @@ class FederationHandler(BaseHandler):
|
||||||
)
|
)
|
||||||
|
|
||||||
if not backfilled:
|
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.type == RoomMemberEvent.TYPE:
|
||||||
if event.membership == Membership.JOIN:
|
if event.membership == Membership.JOIN:
|
||||||
|
|
Loading…
Reference in New Issue