summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/message.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py
index b2bbcfc6e2..9b20e4f50e 100644
--- a/synapse/handlers/message.py
+++ b/synapse/handlers/message.py
@@ -281,7 +281,8 @@ class MessageHandler(BaseHandler):
 
                 d["messages"] = {
                     "chunk": [
-                    self.hs.serialize_event(m, trim_events) for m in messages
+                        self.hs.serialize_event(m, trim_events)
+                        for m in messages
                     ],
                     "start": start_token.to_string(),
                     "end": end_token.to_string(),