forked from MirrorHub/synapse
Update spam checker documentation for moved media modules. (#15175)
This commit is contained in:
parent
d62cd940cb
commit
69553052cc
2 changed files with 3 additions and 2 deletions
1
changelog.d/15175.misc
Normal file
1
changelog.d/15175.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Refactor the media modules.
|
|
@ -307,8 +307,8 @@ _Changed in Synapse v1.62.0: `synapse.module_api.NOT_SPAM` and `synapse.module_a
|
||||||
|
|
||||||
```python
|
```python
|
||||||
async def check_media_file_for_spam(
|
async def check_media_file_for_spam(
|
||||||
file_wrapper: "synapse.rest.media.v1.media_storage.ReadableFileWrapper",
|
file_wrapper: "synapse.media.media_storage.ReadableFileWrapper",
|
||||||
file_info: "synapse.rest.media.v1._base.FileInfo",
|
file_info: "synapse.media._base.FileInfo",
|
||||||
) -> Union["synapse.module_api.NOT_SPAM", "synapse.module_api.errors.Codes", bool]
|
) -> Union["synapse.module_api.NOT_SPAM", "synapse.module_api.errors.Codes", bool]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue