From cafb45354578aecb9fcc810c1f44d34ea5eace6f Mon Sep 17 00:00:00 2001 From: Kim Brose <2803622+HarHarLinks@users.noreply.github.com> Date: Tue, 2 May 2023 18:02:05 +0200 Subject: [PATCH] Fix m.location.yaml scheme (#1507) * Fix m.location.yaml scheme This appears to have been mixed up while refactoring https://github.com/matrix-org/matrix-spec/commit/f1f32d3a15c325ee8aa9d2c6bafd96c38069bb53#diff-eb879a272497c490480df3e07215d058ace2fa0bf456447786f299995fb467ef * Create 1507.clarification --- changelogs/client_server/newsfragments/1507.clarification | 1 + data/event-schemas/schema/m.room.message$m.location.yaml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 changelogs/client_server/newsfragments/1507.clarification diff --git a/changelogs/client_server/newsfragments/1507.clarification b/changelogs/client_server/newsfragments/1507.clarification new file mode 100644 index 00000000..c810cc8c --- /dev/null +++ b/changelogs/client_server/newsfragments/1507.clarification @@ -0,0 +1 @@ +Clarify `m.location` scheme by partially reverting [f1f32d3](https://github.com/matrix-org/matrix-spec/commit/f1f32d3a15c325ee8aa9d2c6bafd96c38069bb53). Contributed by @HarHarLinks. diff --git a/data/event-schemas/schema/m.room.message$m.location.yaml b/data/event-schemas/schema/m.room.message$m.location.yaml index 37f723f2..27b2b039 100644 --- a/data/event-schemas/schema/m.room.message$m.location.yaml +++ b/data/event-schemas/schema/m.room.message$m.location.yaml @@ -20,8 +20,8 @@ properties: properties: thumbnail_url: description: |- - The URL to the thumbnail of the file. Only present if the - thumbnail is unencrypted. + The URL to a thumbnail of the location being represented. + Only present if the thumbnail is unencrypted. type: string thumbnail_file: description: |-