From 414cc1ea52bd81b9e188d360b83572345b3f55a5 Mon Sep 17 00:00:00 2001 From: cheb Date: Tue, 4 Jul 2023 14:52:48 +0200 Subject: [PATCH] Add missing type enum for m.reaction (#1552) --- changelogs/client_server/newsfragments/1552.clarification | 1 + data/event-schemas/schema/m.reaction.yaml | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 changelogs/client_server/newsfragments/1552.clarification diff --git a/changelogs/client_server/newsfragments/1552.clarification b/changelogs/client_server/newsfragments/1552.clarification new file mode 100644 index 00000000..3f8cdbfb --- /dev/null +++ b/changelogs/client_server/newsfragments/1552.clarification @@ -0,0 +1 @@ +Fix missing `type` property in the JSON schema definition of the `m.reaction` event. Contributed by @chebureki. diff --git a/data/event-schemas/schema/m.reaction.yaml b/data/event-schemas/schema/m.reaction.yaml index 6d369c5f..e7ad0ba1 100644 --- a/data/event-schemas/schema/m.reaction.yaml +++ b/data/event-schemas/schema/m.reaction.yaml @@ -37,3 +37,7 @@ properties: (see the [emoji variation sequences list](https://www.unicode.org/Public/UCD/latest/ucd/emoji/emoji-variation-sequences.txt)). example: "👍" + type: + enum: + - m.reaction + type: string