Clarify that room avatars cannot be encrypted (#1871)

Fixes: #562
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
pull/1892/head
Johannes Marbach 5 months ago committed by GitHub
parent 9f2891d95c
commit 7820771fdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1 @@
Clarify that room avatars cannot be encrypted.

@ -0,0 +1,28 @@
description: Metadata about an avatar image.
properties:
h:
description: |-
The intended display height of the image in pixels. This may
differ from the intrinsic dimensions of the image file.
type: integer
w:
description: |-
The intended display width of the image in pixels. This may
differ from the intrinsic dimensions of the image file.
type: integer
mimetype:
description: The mimetype of the image, e.g. `image/jpeg`.
type: string
size:
description: Size of the image in bytes.
type: integer
thumbnail_url:
description: |-
The URL (typically [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris)) to a thumbnail of the image.
type: string
thumbnail_info:
allOf:
- $ref: thumbnail_info.yaml
description: Metadata about the image referred to in `thumbnail_url`.
title: AvatarInfo
type: object

@ -7,7 +7,7 @@ properties:
properties:
info:
allOf:
- $ref: core-event-schema/msgtype_infos/image_info.yaml
- $ref: core-event-schema/msgtype_infos/avatar_info.yaml
description: Metadata about the image referred to in `url`.
url:
description: |-

Loading…
Cancel
Save