Feed profile data (display name, 3PIDs) within synapse

This commit is contained in:
Maxime Dor
2017-09-26 04:21:55 +02:00
parent bfa5779426
commit 4b9d9be7be
2 changed files with 52 additions and 12 deletions

View File

@@ -52,10 +52,22 @@ Body as JSON UTF-8:
The following JSON answer will be provided:
```
{
"authentication": {
"auth": {
"success": <boolean>
"mxid": "@matrix.id.of.the.user:example.com"
"display_name": "String of the display name to set, optional"
"profile": {
"display_name": "John Doe",
"three_pids": [
{
"medium": "email",
"address": "john.doe@example.org"
},
{
"medium": "msisdn",
"address": "123456789"
}
]
}
}
}
```