summary refs log tree commit diff
path: root/synapse/handlers/presence.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-08-27 14:03:27 +0100
committerErik Johnston <erik@matrix.org>2014-08-27 14:03:27 +0100
commitbd16b93e8f7143b4d2e98794a01aa62a060505d8 (patch)
treeb07e6fa7f9fd6f95302f9a43ef276436f8aa73cb /synapse/handlers/presence.py
parentEnable presence again. Fix up api to match old api. (diff)
downloadsynapse-bd16b93e8f7143b4d2e98794a01aa62a060505d8.tar.xz
Implement presence event source. Change the way the notifier indexes listeners
Diffstat (limited to 'synapse/handlers/presence.py')
-rw-r--r--synapse/handlers/presence.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py
index 8408266da0..9a690258de 100644
--- a/synapse/handlers/presence.py
+++ b/synapse/handlers/presence.py
@@ -676,12 +676,7 @@ class PresenceHandler(BaseHandler):
         statuscache.make_event(user=observed_user, clock=self.clock)
 
         self.notifier.on_new_user_event(
-            observer_user.to_string(),
-            event_data=statuscache.make_event(
-                user=observed_user,
-                clock=self.clock
-            ),
-            store_id=statuscache.serial
+            [observer_user],
         )