summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-08-14 17:23:47 +0100
committerKegan Dougal <kegan@matrix.org>2014-08-14 17:23:47 +0100
commit30da8c81c761a1f58c9643f41450240bfe1d6cc5 (patch)
tree506f0f8791fe2f1ecf9ce498058bbded336596ad /docs
parentPass back the user_id in the response to /login in case it has changed. Store... (diff)
downloadsynapse-30da8c81c761a1f58c9643f41450240bfe1d6cc5.tar.xz
webclient: You can now paginate in rooms. Defaults to 10 messages, with a button to get more (needs to be hooked into infini-scrolling).
Diffstat (limited to 'docs')
-rw-r--r--docs/client-server/specification.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/client-server/specification.rst b/docs/client-server/specification.rst
index 97c8587a6d..b82093f2d3 100644
--- a/docs/client-server/specification.rst
+++ b/docs/client-server/specification.rst
@@ -414,6 +414,9 @@ The server checks this, finds it is valid, and returns:
 {
   "access_token": "abcdef0123456789"
 }
+The server may optionally return "user_id" to confirm or change the user's ID.
+This is particularly useful if the home server wishes to support localpart entry
+of usernames (e.g. "bob" rather than "@bob:matrix.org").
 
 OAuth2-based
 ------------