summary refs log tree commit diff
path: root/synapse/push/pusherpool.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-07-30 10:12:13 +0100
committerErik Johnston <erik@matrix.org>2019-07-30 10:12:13 +0100
commit65fe31786d6a8c008084161a9445367edbe38f51 (patch)
tree19bb742970e152ea2004bede0198a06034bd3865 /synapse/push/pusherpool.py
parentMerge branch 'release-v1.2.0' of github.com:matrix-org/synapse into matrix-or... (diff)
parentMerge pull request #5746 from matrix-org/erikj/test_bg_update_currnet_state (diff)
downloadsynapse-65fe31786d6a8c008084161a9445367edbe38f51.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
Diffstat (limited to 'synapse/push/pusherpool.py')
-rw-r--r--synapse/push/pusherpool.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/push/pusherpool.py b/synapse/push/pusherpool.py

index df6f670740..08e840fdc2 100644 --- a/synapse/push/pusherpool.py +++ b/synapse/push/pusherpool.py
@@ -123,7 +123,7 @@ class PusherPool: ) pusher = yield self.start_pusher_by_id(app_id, pushkey, user_id) - defer.returnValue(pusher) + return pusher @defer.inlineCallbacks def remove_pushers_by_app_id_and_pushkey_not_user( @@ -224,7 +224,7 @@ class PusherPool: if pusher_dict: pusher = yield self._start_pusher(pusher_dict) - defer.returnValue(pusher) + return pusher @defer.inlineCallbacks def _start_pushers(self): @@ -293,7 +293,7 @@ class PusherPool: p.on_started(have_notifs) - defer.returnValue(p) + return p @defer.inlineCallbacks def remove_pusher(self, app_id, pushkey, user_id):