mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
deploy: 10671da05b
This commit is contained in:
parent
5cd5a71ca8
commit
4065f10ce0
2 changed files with 2 additions and 2 deletions
|
@ -322,7 +322,7 @@ whether the given file can be stored in the homeserver's media store.</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>ensure the module's callbacks are all asynchronous.</li>
|
<li>ensure the module's callbacks are all asynchronous.</li>
|
||||||
<li>register their callbacks using one or more of the <code>register_[...]_callbacks</code> methods
|
<li>register their callbacks using one or more of the <code>register_[...]_callbacks</code> methods
|
||||||
from the <code>ModuleApi</code> class in the module's <code>__init__</code> method (see <a href="#registering-a-web-resource">this section</a>
|
from the <code>ModuleApi</code> class in the module's <code>__init__</code> method (see <a href="#registering-a-callback">this section</a>
|
||||||
for more info).</li>
|
for more info).</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Additionally, if the module is packaged with an additional web resource, the module
|
<p>Additionally, if the module is packaged with an additional web resource, the module
|
||||||
|
|
|
@ -7436,7 +7436,7 @@ whether the given file can be stored in the homeserver's media store.</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>ensure the module's callbacks are all asynchronous.</li>
|
<li>ensure the module's callbacks are all asynchronous.</li>
|
||||||
<li>register their callbacks using one or more of the <code>register_[...]_callbacks</code> methods
|
<li>register their callbacks using one or more of the <code>register_[...]_callbacks</code> methods
|
||||||
from the <code>ModuleApi</code> class in the module's <code>__init__</code> method (see <a href="modules.html#registering-a-web-resource">this section</a>
|
from the <code>ModuleApi</code> class in the module's <code>__init__</code> method (see <a href="modules.html#registering-a-callback">this section</a>
|
||||||
for more info).</li>
|
for more info).</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Additionally, if the module is packaged with an additional web resource, the module
|
<p>Additionally, if the module is packaged with an additional web resource, the module
|
||||||
|
|
Loading…
Reference in a new issue