Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Update spam checker documentation for moved media modules. (#15175)
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Feb 28, 2023
1 parent d62cd94 commit 6955305
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/15175.misc
@@ -0,0 +1 @@
Refactor the media modules.
4 changes: 2 additions & 2 deletions docs/modules/spam_checker_callbacks.md
Expand Up @@ -307,8 +307,8 @@ _Changed in Synapse v1.62.0: `synapse.module_api.NOT_SPAM` and `synapse.module_a

```python
async def check_media_file_for_spam(
file_wrapper: "synapse.rest.media.v1.media_storage.ReadableFileWrapper",
file_info: "synapse.rest.media.v1._base.FileInfo",
file_wrapper: "synapse.media.media_storage.ReadableFileWrapper",
file_info: "synapse.media._base.FileInfo",
) -> Union["synapse.module_api.NOT_SPAM", "synapse.module_api.errors.Codes", bool]
```

Expand Down

0 comments on commit 6955305

Please sign in to comment.