summary refs log tree commit diff
path: root/synapse/handlers/typing.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-12-06 10:14:59 +0000
committerErik Johnston <erik@matrix.org>2019-12-06 10:40:05 +0000
commitb3a4e35ca84a29fe4ccdfb1125ed098c68405d6c (patch)
treec13726e0a0d0d3e54af885af13526a97a41490d8 /synapse/handlers/typing.py
parentNewsfile (diff)
downloadsynapse-b3a4e35ca84a29fe4ccdfb1125ed098c68405d6c.tar.xz
Fixup functions to consistently return deferreds
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 856337b7e2..6f78454322 100644
--- a/synapse/handlers/typing.py
+++ b/synapse/handlers/typing.py
@@ -313,7 +313,7 @@ class TypingNotificationEventSource(object):
 
                 events.append(self._make_event_for(room_id))
 
-            return events, handler._latest_room_serial
+            return defer.succeed((events, handler._latest_room_serial))
 
     def get_current_key(self):
         return self.get_typing_handler()._latest_room_serial