From 5acd8d258c6b93fe8d7e9c082d10cf52c5efc9b2 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Wed, 2 Oct 2024 17:37:55 +0100 Subject: [PATCH 1/2] Fix NAME attribute of ReplicationRemovePusherRestServlet --- synapse/replication/http/push.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/replication/http/push.py b/synapse/replication/http/push.py index 2e06c43ce59..48e254cdb14 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 From 21d30186c54c3a03c9bad26b9d01c919a7e37057 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Wed, 2 Oct 2024 17:50:27 +0100 Subject: [PATCH 2/2] newsfile --- changelog.d/17779.bugfix | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/17779.bugfix diff --git a/changelog.d/17779.bugfix b/changelog.d/17779.bugfix new file mode 100644 index 00000000000..72785830d94 --- /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