This commit is contained in:
Luke Barnard 2017-04-11 17:07:07 +01:00
parent d892079844
commit 0127423027
3 changed files with 4 additions and 5 deletions

View file

@ -83,7 +83,8 @@ class RoomAccountDataServlet(RestServlet):
body = parse_json_object_from_request(request)
if account_data_type == "m.read_marker":
raise SynapseError(405,
raise SynapseError(
405,
"Cannot set m.read_marker through this API. "
"Use /rooms/!roomId:server.name/read_marker"
)