Add display_name to 3pid invites in m.room.member
This commit is contained in:
parent
20c7af3186
commit
9bfe86f474
2 changed files with 6 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
||||||
"avatar_url": "mxc://localhost/SEsfnsuifSDFSSEF#auto",
|
"avatar_url": "mxc://localhost/SEsfnsuifSDFSSEF#auto",
|
||||||
"displayname": "Alice Margatroid",
|
"displayname": "Alice Margatroid",
|
||||||
"third_party_invite": {
|
"third_party_invite": {
|
||||||
|
"display_name": "alice",
|
||||||
"signed": {
|
"signed": {
|
||||||
"mxid": "@alice:localhost",
|
"mxid": "@alice:localhost",
|
||||||
"signatures": {
|
"signatures": {
|
||||||
|
|
|
@ -27,6 +27,10 @@
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Invite",
|
"title": "Invite",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"display_name": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "A name which can be displayed to represent the user instead of their third party identifier"
|
||||||
|
},
|
||||||
"signed": {
|
"signed": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "signed",
|
"title": "signed",
|
||||||
|
@ -49,7 +53,7 @@
|
||||||
"required": ["mxid", "signatures", "token"]
|
"required": ["mxid", "signatures", "token"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["signed"]
|
"required": ["display_name", "signed"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["membership"]
|
"required": ["membership"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue