summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-09-21 14:21:03 +0100
committerMark Haines <mark.haines@matrix.org>2015-09-21 14:21:03 +0100
commit49c0a0b5c4c2385fdf6755b1a5e1a3f0b04ef503 (patch)
tree716f535f8d8218bcbd9cebd92e976d0840c7ca54
parentFix doc string to point at the right class (diff)
downloadsynapse-49c0a0b5c4c2385fdf6755b1a5e1a3f0b04ef503.tar.xz
Clarify that room_initial_sync returns a python dict
Diffstat (limited to '')
-rw-r--r--synapse/handlers/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py
index bb73286729..bda8eb5f3f 100644
--- a/synapse/handlers/message.py
+++ b/synapse/handlers/message.py
@@ -473,7 +473,7 @@ class MessageHandler(BaseHandler):
         Raises:
             AuthError if the user wasn't in the room.
         Returns:
-            A JSON object with the snapshot of the room.
+            A JSON serialisable dict with the snapshot of the room.
         """
 
         member_event = yield self.auth.check_user_was_in_room(room_id, user_id)