summary refs log tree commit diff
path: root/synapse/handlers/presence.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-07-02 11:40:56 +0100
committerErik Johnston <erik@matrix.org>2015-07-02 11:46:05 +0100
commitbd1236c0ee5b3703de51dc773a02da92e0960d0f (patch)
tree3316e5155f371539a7f1c740eacbad273598610d /synapse/handlers/presence.py
parentAdd receipts_key to StreamToken (diff)
downloadsynapse-bd1236c0ee5b3703de51dc773a02da92e0960d0f.tar.xz
Consolidate duplicate code in notifier
Diffstat (limited to 'synapse/handlers/presence.py')
-rw-r--r--synapse/handlers/presence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py
index 7c03198313..341a516da2 100644
--- a/synapse/handlers/presence.py
+++ b/synapse/handlers/presence.py
@@ -992,7 +992,7 @@ class PresenceHandler(BaseHandler):
             room_ids([str]): List of room_ids to notify.
         """
         with PreserveLoggingContext():
-            self.notifier.on_new_user_event(
+            self.notifier.on_new_event(
                 "presence_key",
                 self._user_cachemap_latest_serial,
                 users_to_push,