summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-31 11:59:36 +0100
committerErik Johnston <erik@matrix.org>2017-05-31 11:59:36 +0100
commit168524543f70f7c3dc113b21fc704af65d832bf8 (patch)
tree0fa74ead6a952a4496b8498411c2bca83c240a2b
parentStart later (diff)
downloadsynapse-168524543f70f7c3dc113b21fc704af65d832bf8.tar.xz
Add call later
-rw-r--r--synapse/handlers/user_directory.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/handlers/user_directory.py b/synapse/handlers/user_directory.py
index 87c467f096..e9488ce554 100644
--- a/synapse/handlers/user_directory.py
+++ b/synapse/handlers/user_directory.py
@@ -38,6 +38,8 @@ class UserDirectoyHandler(object):
 
         self._is_processing = False
 
+        self.clock.call_later(0, self.notify_new_event)
+
     @defer.inlineCallbacks
     def notify_new_event(self):
         if self._is_processing: