summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2021-07-02 13:20:43 +0200
committerGitHub <noreply@github.com>2021-07-02 13:20:43 +0200
commit10671da05bdb72d98aab2a8937da503abfc836fd (patch)
treee7c0797d6c483f92107594f42cb136c0a2812209 /docs
parentMove methods involving event authentication to EventAuthHandler. (#10268) (diff)
downloadsynapse-10671da05bdb72d98aab2a8937da503abfc836fd.tar.xz
Fix bad link in modules documentation (#10302)
Fix link in modules doc to point at instructions on registering a callback instead of ones on registering a web resource.
Diffstat (limited to 'docs')
-rw-r--r--docs/modules.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/modules.md b/docs/modules.md
index 3a9fab61b8..bec1c06d15 100644
--- a/docs/modules.md
+++ b/docs/modules.md
@@ -194,7 +194,7 @@ In order to port a module that uses Synapse's old module interface, its author n
 
 * ensure the module's callbacks are all asynchronous.
 * register their callbacks using one or more of the `register_[...]_callbacks` methods
-  from the `ModuleApi` class in the module's `__init__` method (see [this section](#registering-a-web-resource)
+  from the `ModuleApi` class in the module's `__init__` method (see [this section](#registering-a-callback)
   for more info).
 
 Additionally, if the module is packaged with an additional web resource, the module