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.
This commit is contained in:
Brendan Abolivier 2021-07-02 13:20:43 +02:00 committed by GitHub
parent 8d609435c0
commit 10671da05b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/10302.doc Normal file
View file

@ -0,0 +1 @@
Fix link pointing at the wrong section in the modules documentation page.

View file

@ -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. * ensure the module's callbacks are all asynchronous.
* register their callbacks using one or more of the `register_[...]_callbacks` methods * 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). for more info).
Additionally, if the module is packaged with an additional web resource, the module Additionally, if the module is packaged with an additional web resource, the module