Merge pull request 'https://git.pleroma.social/pleroma/pleroma-fe/pulls/3489 without emoji changes' (#3502) from Yonle-filetypeservice-1 into develop

Reviewed-on: https://git.pleroma.social/pleroma/pleroma-fe/pulls/3502
This commit is contained in:
HJ 2026-06-07 20:42:33 +00:00
commit 2234c9b2f1

View file

@ -302,7 +302,8 @@ export const parseAttachment = (data) => {
}
if (data.type !== 'unknown') {
output.type = data.type
// treat gifv like it is "video"
output.type = data.type === 'gifv' ? 'video' : data.type
} else {
output.type = fileTypeService.fileType(output.mimetype)
}