use akkoma-specific source for MFM unless asked not to (#132)

Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/132
This commit is contained in:
floatingghost 2022-08-17 09:34:50 +00:00
parent 64fdde52f6
commit e61228b031
5 changed files with 22 additions and 3 deletions

View file

@ -282,6 +282,7 @@ export const parseStatus = (data) => {
const { akkoma } = data
if (akkoma && akkoma.source) {
output.media_type = akkoma.source.mediaType
output.source_content = akkoma.source.content
}
}