diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-07-30 06:56:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-30 06:56:55 -0400 |
commit | 3950ae51ef3e7d0bdbe5002dbe8ef5c35a9e8eea (patch) | |
tree | 3e75c5de7b32318f01495484db2f4f2d2303e335 /synapse | |
parent | Ensure the msg property of HttpResponseException is a string. (#7979) (diff) | |
download | synapse-3950ae51ef3e7d0bdbe5002dbe8ef5c35a9e8eea.tar.xz |
Ensure that remove_pusher is always async (#7981)
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/app/generic_worker.py | 2 |
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): |