diff options
author | Erik Johnston <erik@matrix.org> | 2014-11-10 11:15:02 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-11-10 11:15:02 +0000 |
commit | 65f846ade09feba129a14b2b9714c2ad51d00f0a (patch) | |
tree | 9f7d99af9832ad64df1a649ee9a45c63396ef049 /synapse/handlers | |
parent | Fix invite auth (diff) | |
download | synapse-65f846ade09feba129a14b2b9714c2ad51d00f0a.tar.xz |
Notify users about invites.
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/federation.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index 7e10583902..9a59fe94d2 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -431,7 +431,10 @@ class FederationHandler(BaseHandler): backfilled=False, ) - yield self.notifier.on_new_room_event(event) + target_user = self.hs.parse_userid(event.state_key) + yield self.notifier.on_new_room_event( + event, extra_users=[target_user], + ) defer.returnValue(self.pdu_codec.pdu_from_event(event)) |