From be824d07fb1e2cb792463e9942a9dc0e220cc15a Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 18 Nov 2022 00:28:04 +0200 Subject: [PATCH] Fix some unstable prefixes --- portal.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/portal.go b/portal.go index 702da2d..e139625 100644 --- a/portal.go +++ b/portal.go @@ -2204,7 +2204,7 @@ func (portal *Portal) convertPollCreationMessage(intent *appservice.IntentAPI, m "kind": "org.matrix.msc3381.v2.disclosed", "max_selections": maxChoices, "question": map[string]any{ - "m.markup": []map[string]any{ + "org.matrix.msc1767.markup": []map[string]any{ {"mimetype": "text/plain", "body": msg.GetName()}, }, }, @@ -2220,7 +2220,7 @@ func (portal *Portal) convertPollCreationMessage(intent *appservice.IntentAPI, m "kind": "org.matrix.msc3381.poll.disclosed", "max_selections": maxChoices, "question": map[string]any{ - "m.text": msg.GetName(), + "org.matrix.msc1767.text": msg.GetName(), }, "answers": msc3381Answers, },