[mastodon-client] Return text/x.misskeymarkdown as supported_mime_types in /v1/instance

This commit is contained in:
Laura Hausmann 2023-10-16 23:23:25 +02:00
parent 97176e00f9
commit 4a6d010724
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -66,6 +66,7 @@ export class MiscHelpers {
max_featured_tags: 20, max_featured_tags: 20,
}, },
statuses: { statuses: {
supported_mime_types: ['text/x.misskeymarkdown'],
max_characters: MAX_NOTE_TEXT_LENGTH, max_characters: MAX_NOTE_TEXT_LENGTH,
max_media_attachments: 16, max_media_attachments: 16,
characters_reserved_per_url: 23, characters_reserved_per_url: 23,