Add display_name to 3pid invites in m.room.member

pull/977/head
Daniel Wagner-Hall 9 years ago
parent 20c7af3186
commit 9bfe86f474

@ -5,6 +5,7 @@
"avatar_url": "mxc://localhost/SEsfnsuifSDFSSEF#auto",
"displayname": "Alice Margatroid",
"third_party_invite": {
"display_name": "alice",
"signed": {
"mxid": "@alice:localhost",
"signatures": {

@ -27,6 +27,10 @@
"type": "object",
"title": "Invite",
"properties": {
"display_name": {
"type": "string",
"description": "A name which can be displayed to represent the user instead of their third party identifier"
},
"signed": {
"type": "object",
"title": "signed",
@ -49,7 +53,7 @@
"required": ["mxid", "signatures", "token"]
}
},
"required": ["signed"]
"required": ["display_name", "signed"]
}
},
"required": ["membership"]

Loading…
Cancel
Save