diff options
author | Erik Johnston <erik@matrix.org> | 2014-08-27 14:03:27 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-08-27 14:03:27 +0100 |
commit | bd16b93e8f7143b4d2e98794a01aa62a060505d8 (patch) | |
tree | b07e6fa7f9fd6f95302f9a43ef276436f8aa73cb /synapse/handlers/presence.py | |
parent | Enable presence again. Fix up api to match old api. (diff) | |
download | synapse-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.py | 7 |
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], ) |