Use media type to figure out whether to parse MFM

This commit is contained in:
Sol Fisher Romanoff 2022-07-10 13:47:16 +03:00
parent 5e18f1ceeb
commit f15465f0d3
No known key found for this signature in database
GPG key ID: 9D3F2B64F2341B62
2 changed files with 3 additions and 5 deletions

View file

@ -50,7 +50,7 @@
:html="status.raw_html"
:emoji="status.emojis"
:handle-links="true"
:mfm="renderMisskeyMarkdown && (status.content_type === 'text/x.misskeymarkdown')"
:mfm="renderMisskeyMarkdown && (status.media_type === 'text/x.misskeymarkdown')"
:greentext="mergedConfig.greentext"
:attentions="status.attentions"
@parseReady="onParseReady"