mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-08-05 07:27:52 +02:00
Compare commits
1 commit
94b7165c20
...
115b4c400e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
115b4c400e |
|
|
@ -1 +0,0 @@
|
||||||
Use MXC URI type for all user `avatar_url` fields. Contributed by @networkException.
|
|
||||||
|
|
@ -54,8 +54,7 @@ properties:
|
||||||
example: true
|
example: true
|
||||||
avatar_url:
|
avatar_url:
|
||||||
type: string
|
type: string
|
||||||
format: mx-mxc-uri
|
format: uri
|
||||||
pattern: "^mxc:\\/\\/"
|
|
||||||
description: The URL for the room's avatar, if one is set.
|
description: The URL for the room's avatar, if one is set.
|
||||||
example: "mxc://example.org/abcdef"
|
example: "mxc://example.org/abcdef"
|
||||||
join_rule:
|
join_rule:
|
||||||
|
|
|
||||||
|
|
@ -340,8 +340,7 @@ paths:
|
||||||
description: The display name of the user this object is representing.
|
description: The display name of the user this object is representing.
|
||||||
avatar_url:
|
avatar_url:
|
||||||
type: string
|
type: string
|
||||||
format: mx-mxc-uri
|
format: uri
|
||||||
pattern: "^mxc:\\/\\/"
|
|
||||||
description: The avatar of the user this object is representing, as an [`mxc://`
|
description: The avatar of the user this object is representing, as an [`mxc://`
|
||||||
URI](/client-server-api/#matrix-content-mxc-uris).
|
URI](/client-server-api/#matrix-content-mxc-uris).
|
||||||
description: A map from user ID to a RoomMember object.
|
description: A map from user ID to a RoomMember object.
|
||||||
|
|
|
||||||
|
|
@ -238,8 +238,7 @@ paths:
|
||||||
title: Display name
|
title: Display name
|
||||||
avatar_url:
|
avatar_url:
|
||||||
type: string
|
type: string
|
||||||
format: mx-mxc-uri
|
format: uri
|
||||||
pattern: "^mxc:\\/\\/"
|
|
||||||
title: Avatar Url
|
title: Avatar Url
|
||||||
events_before:
|
events_before:
|
||||||
type: array
|
type: array
|
||||||
|
|
|
||||||
|
|
@ -90,8 +90,7 @@ paths:
|
||||||
description: The display name of the user, if one exists.
|
description: The display name of the user, if one exists.
|
||||||
avatar_url:
|
avatar_url:
|
||||||
type: string
|
type: string
|
||||||
format: mx-mxc-uri
|
format: uri
|
||||||
pattern: "^mxc:\\/\\/"
|
|
||||||
example: mxc://bar.com/foo
|
example: mxc://bar.com/foo
|
||||||
description: The avatar url, as an [`mxc://`
|
description: The avatar url, as an [`mxc://`
|
||||||
URI](/client-server-api/#matrix-content-mxc-uris),
|
URI](/client-server-api/#matrix-content-mxc-uris),
|
||||||
|
|
|
||||||
|
|
@ -172,8 +172,6 @@ paths:
|
||||||
example: John Doe
|
example: John Doe
|
||||||
avatar_url:
|
avatar_url:
|
||||||
type: string
|
type: string
|
||||||
format: mx-mxc-uri
|
|
||||||
pattern: "^mxc:\\/\\/"
|
|
||||||
description: |-
|
description: |-
|
||||||
The avatar URL for the user's avatar. MUST either be omitted or set to
|
The avatar URL for the user's avatar. MUST either be omitted or set to
|
||||||
`null` if the user does not have an avatar set.
|
`null` if the user does not have an avatar set.
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,6 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"avatar_url": {
|
"avatar_url": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "mx-mxc-uri",
|
|
||||||
"pattern": "^mxc:\\/\\/",
|
|
||||||
"description": "The current avatar URL for this user, if any."
|
"description": "The current avatar URL for this user, if any."
|
||||||
},
|
},
|
||||||
"displayname": {
|
"displayname": {
|
||||||
|
|
|
||||||
|
|
@ -53,8 +53,7 @@ properties:
|
||||||
avatar_url:
|
avatar_url:
|
||||||
description: 'The avatar URL for this user, if any.'
|
description: 'The avatar URL for this user, if any.'
|
||||||
type: string
|
type: string
|
||||||
format: mx-mxc-uri
|
format: uri
|
||||||
pattern: "^mxc:\\/\\/"
|
|
||||||
displayname:
|
displayname:
|
||||||
description: 'The display name for this user, if any.'
|
description: 'The display name for this user, if any.'
|
||||||
type:
|
type:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue