summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-11-10 11:15:02 +0000
committerErik Johnston <erik@matrix.org>2014-11-10 11:15:02 +0000
commit65f846ade09feba129a14b2b9714c2ad51d00f0a (patch)
tree9f7d99af9832ad64df1a649ee9a45c63396ef049 /synapse/handlers
parentFix invite auth (diff)
downloadsynapse-65f846ade09feba129a14b2b9714c2ad51d00f0a.tar.xz
Notify users about invites.
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/federation.py5
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))