summary refs log tree commit diff
path: root/docs/modules
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-02-28 12:51:11 -0500
committerGitHub <noreply@github.com>2023-02-28 12:51:11 -0500
commit69553052cca6381ddd1d2996b5db28b2b505f527 (patch)
treee12247d7e35a0d7c22f230bf4c3138bfdfe8dfcd /docs/modules
parentFix a long-standing bug where an initial sync would not respond to changes to... (diff)
downloadsynapse-69553052cca6381ddd1d2996b5db28b2b505f527.tar.xz
Update spam checker documentation for moved media modules. (#15175)
Diffstat (limited to 'docs/modules')
-rw-r--r--docs/modules/spam_checker_callbacks.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/modules/spam_checker_callbacks.md b/docs/modules/spam_checker_callbacks.md
index 50969edd46..1a0c6ec954 100644
--- a/docs/modules/spam_checker_callbacks.md
+++ b/docs/modules/spam_checker_callbacks.md
@@ -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]
 ```