diff --git a/components/publish/PublishWidget.vue b/components/publish/PublishWidget.vue index 2ac061e2..6cf2df7a 100644 --- a/components/publish/PublishWidget.vue +++ b/components/publish/PublishWidget.vue @@ -136,7 +136,7 @@ async function publish() { ...draft.params, status: htmlToText(draft.params.status || ''), mediaIds: draft.attachments.map(a => a.id), - ...((masto.config as any).props.version.raw.includes('+glitch') ? { 'content-type': 'text/markdown' } : {}), + ...(isGlitchEdition.value ? { 'content-type': 'text/markdown' } : {}), } as mastodon.v1.CreateStatusParams if (process.dev) {