You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.5 KiB
Plaintext
32 lines
1.5 KiB
Plaintext
![]()
9 years ago
|
{
|
||
|
"type": "object",
|
||
![]()
9 years ago
|
"title": "Informs the room about what room aliases it has been given.",
|
||
![]()
9 years ago
|
"description": "This event is sent by a homeserver directly to inform of changes to the list of aliases it knows about for that room. The ``state_key`` for this event is set to the homeserver which owns the room alias. The entire set of known aliases for the room is the union of all the ``m.room.aliases`` events, one for each homeserver. Clients **should** check the validity of any room alias given in this list before presenting it to the user as trusted fact. The lists given by this event should be considered simply as advice on which aliases might exist, for which the client can perform the lookup to confirm whether it receives the correct room ID.",
|
||
![]()
9 years ago
|
"allOf": [{
|
||
![]()
9 years ago
|
"$ref": "core-event-schema/state_event.json"
|
||
![]()
9 years ago
|
}],
|
||
|
"properties": {
|
||
|
"content": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"aliases": {
|
||
|
"type": "array",
|
||
![]()
9 years ago
|
"description": "A list of room aliases.",
|
||
![]()
9 years ago
|
"items": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"required": ["aliases"]
|
||
|
},
|
||
![]()
9 years ago
|
"state_key": {
|
||
|
"type": "string",
|
||
|
"description": "The homeserver domain which owns these room aliases."
|
||
|
},
|
||
![]()
9 years ago
|
"type": {
|
||
|
"type": "string",
|
||
|
"enum": ["m.room.aliases"]
|
||
|
}
|
||
|
}
|
||
|
}
|