summary refs log tree commit diff
path: root/docs/client-server/swagger_matrix/api-docs-presence
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-09-03 11:45:30 +0100
committerKegan Dougal <kegan@matrix.org>2014-09-03 11:45:30 +0100
commitc54d8df5040140c95b8ca31ce2ac023379f8cfdc (patch)
treeb4ebcaf6d6189fe45b49f23f00618f6972e7aa11 /docs/client-server/swagger_matrix/api-docs-presence
parentFixed /presence APIs to urldecode user IDs. (diff)
downloadsynapse-c54d8df5040140c95b8ca31ce2ac023379f8cfdc.tar.xz
Update API docs to use 'presence' key not 'state'. Fixed error messages when setting presence.
Diffstat (limited to 'docs/client-server/swagger_matrix/api-docs-presence')
-rw-r--r--docs/client-server/swagger_matrix/api-docs-presence2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/client-server/swagger_matrix/api-docs-presence b/docs/client-server/swagger_matrix/api-docs-presence
index 99630d2056..5c9f160508 100644
--- a/docs/client-server/swagger_matrix/api-docs-presence
+++ b/docs/client-server/swagger_matrix/api-docs-presence
@@ -106,7 +106,7 @@
     "PresenceUpdate": {
       "id": "PresenceUpdate",
       "properties": {
-        "state": {
+        "presence": {
           "type": "string",
           "description": "Enum: The presence state.",
           "enum": [