summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/rest/client/v2_alpha/account_data.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/client/v2_alpha/account_data.py b/synapse/rest/client/v2_alpha/account_data.py
index 56cd347e78..1f9f42e661 100644
--- a/synapse/rest/client/v2_alpha/account_data.py
+++ b/synapse/rest/client/v2_alpha/account_data.py
@@ -85,8 +85,8 @@ class RoomAccountDataServlet(RestServlet):
         if account_data_type == "m.read_marker":
             raise SynapseError(
                 405,
-                "Cannot set m.read_marker through this API. "
-                "Use /rooms/!roomId:server.name/read_marker"
+                "Cannot set m.read_marker through this API."
+                " Use /rooms/!roomId:server.name/read_marker"
             )
 
         max_id = yield self.store.add_account_data_to_room(