Update spam checker documentation for moved media modules. (#15175)

erikj/fixes_batch
Patrick Cloke 2023-02-28 12:51:11 -05:00 committed by GitHub
parent d62cd940cb
commit 69553052cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

1
changelog.d/15175.misc Normal file
View File

@ -0,0 +1 @@
Refactor the media modules.

View File

@ -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]
``` ```