summary refs log tree commit diff
path: root/synapse/handlers/typing.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/typing.py
parentAdd receipts_key to StreamToken (diff)
downloadsynapse-bd1236c0ee5b3703de51dc773a02da92e0960d0f.tar.xz
Consolidate duplicate code in notifier
Diffstat (limited to 'synapse/handlers/typing.py')
-rw-r--r--synapse/handlers/typing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/typing.py b/synapse/handlers/typing.py
index a9895292c2..026bd2b9d4 100644
--- a/synapse/handlers/typing.py
+++ b/synapse/handlers/typing.py
@@ -218,7 +218,7 @@ class TypingNotificationHandler(BaseHandler):
         self._room_serials[room_id] = self._latest_room_serial
 
         with PreserveLoggingContext():
-            self.notifier.on_new_user_event(
+            self.notifier.on_new_event(
                 "typing_key", self._latest_room_serial, rooms=[room_id]
             )