From b4fab0b14f7167c907286ea065d65b5370ba8221 Mon Sep 17 00:00:00 2001
From: Nick Mills-Barrett <nick@beeper.com>
Date: Wed, 25 May 2022 10:20:34 +0100
Subject: [PATCH] Fix incorrect worker-allowed path in documentation (#12867)

---
 changelog.d/12867.doc | 1 +
 docs/workers.md       | 3 ---
 2 files changed, 1 insertion(+), 3 deletions(-)
 create mode 100644 changelog.d/12867.doc

diff --git a/changelog.d/12867.doc b/changelog.d/12867.doc
new file mode 100644
index 0000000000..1caeb7a290
--- /dev/null
+++ b/changelog.d/12867.doc
@@ -0,0 +1 @@
+Fix documentation incorrectly stating the `sendToDevice` endpoint can be directed at generic workers. Contributed by Nick @ Beeper.
diff --git a/docs/workers.md b/docs/workers.md
index 5033722098..25b9338e57 100644
--- a/docs/workers.md
+++ b/docs/workers.md
@@ -237,9 +237,6 @@ information.
     ^/_matrix/client/(api/v1|r0|v3|unstable)/join/
     ^/_matrix/client/(api/v1|r0|v3|unstable)/profile/
 
-    # Device requests
-    ^/_matrix/client/(r0|v3|unstable)/sendToDevice/
-
     # Account data requests
     ^/_matrix/client/(r0|v3|unstable)/.*/tags
     ^/_matrix/client/(r0|v3|unstable)/.*/account_data
-- 
GitLab