mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-23 00:03:16 +00:00
deploy: fcac7e0282
This commit is contained in:
1 parent
9b457b6301
commit
dd703f6302
12 files changed
+68
-108
No files matched your search
@@ -166,7 +166,7 @@ using the module API's <code>register_media_repository_callbacks</code> method.<
|
||||
<p>The available media repository callbacks are:</p>
|
||||
<h3 id="get_media_config_for_user"><a class="header" href="#get_media_config_for_user"><code>get_media_config_for_user</code></a></h3>
|
||||
<p><em>First introduced in Synapse v1.132.0</em></p>
|
||||
<pre><code class="language-python">async def get_media_config_for_user(user_id: str) -> Optional[JsonDict]
|
||||
<pre><code class="language-python">async def get_media_config_for_user(user_id: str) -> JsonDict | None
|
||||
</code></pre>
|
||||
<p><strong><span style="color:red">
|
||||
Caution: This callback is currently experimental . The method signature or behaviour
|
||||
@@ -208,7 +208,7 @@ returns <code>False</code> will be used. If this happens, Synapse will not call
|
||||
implementations of this callback.</p>
|
||||
<h3 id="get_media_upload_limits_for_user"><a class="header" href="#get_media_upload_limits_for_user"><code>get_media_upload_limits_for_user</code></a></h3>
|
||||
<p><em>First introduced in Synapse v1.139.0</em></p>
|
||||
<pre><code class="language-python">async def get_media_upload_limits_for_user(user_id: str, size: int) -> Optional[List[synapse.module_api.MediaUploadLimit]]
|
||||
<pre><code class="language-python">async def get_media_upload_limits_for_user(user_id: str, size: int) -> list[synapse.module_api.MediaUploadLimit] | None
|
||||
</code></pre>
|
||||
<p><strong><span style="color:red">
|
||||
Caution: This callback is currently experimental. The method signature or behaviour
|
||||
|
||||
Reference in new issue
Block a user