summary refs log tree commit diff
path: root/synapse/app/generic_worker.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-07-30 06:56:55 -0400
committerGitHub <noreply@github.com>2020-07-30 06:56:55 -0400
commit3950ae51ef3e7d0bdbe5002dbe8ef5c35a9e8eea (patch)
tree3e75c5de7b32318f01495484db2f4f2d2303e335 /synapse/app/generic_worker.py
parentEnsure the msg property of HttpResponseException is a string. (#7979) (diff)
downloadsynapse-3950ae51ef3e7d0bdbe5002dbe8ef5c35a9e8eea.tar.xz
Ensure that remove_pusher is always async (#7981)
Diffstat (limited to 'synapse/app/generic_worker.py')
-rw-r--r--synapse/app/generic_worker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/generic_worker.py b/synapse/app/generic_worker.py
index ec0dbddb8c..6e8130351c 100644
--- a/synapse/app/generic_worker.py
+++ b/synapse/app/generic_worker.py
@@ -628,7 +628,7 @@ class GenericWorkerServer(HomeServer):
 
         self.get_tcp_replication().start_replication(self)
 
-    def remove_pusher(self, app_id, push_key, user_id):
+    async def remove_pusher(self, app_id, push_key, user_id):
         self.get_tcp_replication().send_remove_pusher(app_id, push_key, user_id)
 
     def build_replication_data_handler(self):