summary refs log tree commit diff
path: root/synapse/storage/pusher.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-07-24 11:11:27 +0100
committerGitHub <noreply@github.com>2018-07-24 11:11:27 +0100
commit69292de6ccd294c224956de36f2bf424edd6e91a (patch)
tree2fbe0f15fe17c27664a6c4a7e0058e286bd6ed56 /synapse/storage/pusher.py
parentMerge pull request #3555 from matrix-org/erikj/client_apis_move (diff)
parentMerge branch 'develop' into rav/logcontext_fixes (diff)
downloadsynapse-69292de6ccd294c224956de36f2bf424edd6e91a.tar.xz
Merge pull request #3591 from matrix-org/rav/logcontext_fixes
Logcontext fixes
Diffstat (limited to 'synapse/storage/pusher.py')
-rw-r--r--synapse/storage/pusher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/pusher.py b/synapse/storage/pusher.py
index cc273a57b2..8443bd4c1b 100644
--- a/synapse/storage/pusher.py
+++ b/synapse/storage/pusher.py
@@ -233,7 +233,7 @@ class PusherStore(PusherWorkerStore):
             )
 
             if newly_inserted:
-                self.runInteraction(
+                yield self.runInteraction(
                     "add_pusher",
                     self._invalidate_cache_and_stream,
                     self.get_if_user_has_pusher, (user_id,)