summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/message.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py
index 5593a8d4f7..bb73286729 100644
--- a/synapse/handlers/message.py
+++ b/synapse/handlers/message.py
@@ -467,8 +467,9 @@ class MessageHandler(BaseHandler):
         Args:
             user_id(str): The user to get a snapshot for.
             room_id(str): The room to get a snapshot of.
-            pagin_config(synapse.api.streams.PaginationConfig): The pagination
-            config used to determine how many messages to return.
+            pagin_config(synapse.streams.config.PaginationConfig):
+                The pagination config used to determine how many messages to
+                return.
         Raises:
             AuthError if the user wasn't in the room.
         Returns: