summary refs log tree commit diff
path: root/synapse/app/pusher.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-10-22 16:12:11 +0100
committerRichard van der Hoff <richard@matrix.org>2018-10-22 16:12:11 +0100
commit3e8b02c9393684f2c96e221ced804a0d20de2da0 (patch)
treea371532fc0c09fea9faab27206aa0c073657aa7b /synapse/app/pusher.py
parentMerge branch 'rav/fix_email_templates_4065' into develop (diff)
downloadsynapse-3e8b02c9393684f2c96e221ced804a0d20de2da0.tar.xz
Rename _refresh_pusher
This is public (or at least, called from outside the class), so ought to have a
better name.
Diffstat (limited to 'synapse/app/pusher.py')
-rw-r--r--synapse/app/pusher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/pusher.py b/synapse/app/pusher.py
index 0f9f8e19f6..e06b70894e 100644
--- a/synapse/app/pusher.py
+++ b/synapse/app/pusher.py
@@ -183,7 +183,7 @@ class PusherReplicationHandler(ReplicationClientHandler):
     def start_pusher(self, user_id, app_id, pushkey):
         key = "%s:%s" % (app_id, pushkey)
         logger.info("Starting pusher %r / %r", user_id, key)
-        return self.pusher_pool._refresh_pusher(app_id, pushkey, user_id)
+        return self.pusher_pool.start_pusher_by_id(app_id, pushkey, user_id)
 
 
 def start(config_options):