From 316d635906773de8fbd53673d99d68dbb32c43d5 Mon Sep 17 00:00:00 2001 From: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> Date: Fri, 4 Oct 2024 09:53:35 +0100 Subject: [PATCH] Fix NAME attribute of `ReplicationRemovePusherRestServlet` (#17779) --- changelog.d/17779.bugfix | 1 + synapse/replication/http/push.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/17779.bugfix diff --git a/changelog.d/17779.bugfix b/changelog.d/17779.bugfix new file mode 100644 index 0000000000..72785830d9 --- /dev/null +++ b/changelog.d/17779.bugfix @@ -0,0 +1 @@ +Fix a rare bug introduced in v1.29.0 where invalidating a user's access token from a worker could raise an error. \ No newline at end of file diff --git a/synapse/replication/http/push.py b/synapse/replication/http/push.py index 2e06c43ce5..48e254cdb1 100644 --- a/synapse/replication/http/push.py +++ b/synapse/replication/http/push.py @@ -48,7 +48,7 @@ class ReplicationRemovePusherRestServlet(ReplicationEndpoint): """ - NAME = "add_user_account_data" + NAME = "remove_pusher" PATH_ARGS = ("user_id",) CACHE = False