[mastodon-client] Add content_type to /statuses/:id/source

This commit is contained in:
Laura Hausmann 2023-10-17 00:45:33 +02:00
parent bd366b0682
commit 092462d3a9
No known key found for this signature in database
GPG Key ID: D044E84C5BE01605
2 changed files with 3 additions and 1 deletions

View File

@ -3,5 +3,6 @@ namespace MastodonEntity {
id: string;
text: string;
spoiler_text: string;
content_type: string;
};
}

View File

@ -220,7 +220,8 @@ export class NoteHelpers {
return {
id: note.id,
text: note.text ?? '',
spoiler_text: note.cw ?? ''
spoiler_text: note.cw ?? '',
content_type: 'text/x.misskeymarkdown'
}
}