From 73698b206a6208d6fa3cb41642abaf750a64086d Mon Sep 17 00:00:00 2001 From: DemonWareXT Date: Sun, 19 Dec 2021 00:24:35 +0100 Subject: [PATCH] Updated Enabling the widget (markdown) --- Enabling-the-widget.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/Enabling-the-widget.md b/Enabling-the-widget.md index b14578c..6b23c66 100644 --- a/Enabling-the-widget.md +++ b/Enabling-the-widget.md @@ -5,23 +5,23 @@ have the following content: ```json - { - "type": "m.widgets", - "content": { - "stickerpicker": { + { + "type": "m.widgets", "content": { - "type": "m.stickerpicker", - "url": "https://demonwarext.github.io/stickerpicker/web/?theme=$theme", - "name": "Stickerpicker", - "data": {} - }, - "sender": "@you:matrix.server.name", - "state_key": "stickerpicker", - "type": "m.widget", - "id": "stickerpicker" + "stickerpicker": { + "content": { + "type": "m.stickerpicker", + "url": "https://demonwarext.github.io/stickerpicker/web/?theme=$theme", + "name": "Stickerpicker", + "data": {} + }, + "sender": "@you:matrix.server.name", + "state_key": "stickerpicker", + "type": "m.widget", + "id": "stickerpicker" + } + } } - } -} ``` If you do not yet have a `m.widgets` event, simply create it with that content.