diff --git a/.changeset/add_better_misc_data_styling.md b/.changeset/add_better_misc_data_styling.md index 70e10a2bb..eb06df969 100644 --- a/.changeset/add_better_misc_data_styling.md +++ b/.changeset/add_better_misc_data_styling.md @@ -1,5 +1,5 @@ --- -default: fix +default: patch --- Fix spam-clicking abbreviations crashing sable diff --git a/.changeset/fix_apng_animation.md b/.changeset/fix_apng_animation.md new file mode 100644 index 000000000..4f3bfa250 --- /dev/null +++ b/.changeset/fix_apng_animation.md @@ -0,0 +1,5 @@ +--- +default: patch +--- + +Fix apng files not animating. diff --git a/.changeset/fix_set_dmed_as_founder.md b/.changeset/fix_set_dmed_as_founder.md new file mode 100644 index 000000000..cccea698e --- /dev/null +++ b/.changeset/fix_set_dmed_as_founder.md @@ -0,0 +1,5 @@ +--- +default: patch +--- + +Fix other dmed party not being added as a founder by default when creating a dm. diff --git a/.changeset/info-change-credits.md b/.changeset/info-change-credits.md index 5595fa861..f1a8a806d 100644 --- a/.changeset/info-change-credits.md +++ b/.changeset/info-change-credits.md @@ -1,5 +1,5 @@ --- -default: info +default: patch --- Update verbiage in the credits diff --git a/src/app/components/RenderMessageContent.tsx b/src/app/components/RenderMessageContent.tsx index 533c1f82f..9591b2565 100644 --- a/src/app/components/RenderMessageContent.tsx +++ b/src/app/components/RenderMessageContent.tsx @@ -337,11 +337,15 @@ function RenderMessageContentInternal({ const info = (content as { info?: { mimetype?: string } }).info; const isGif = info?.mimetype === 'image/gif' || + info?.mimetype === 'image/apng' || info?.mimetype === 'image/webp' || (content.body as string)?.toLowerCase().endsWith('.gif') || + (content.body as string)?.toLowerCase().endsWith('.apng') || (content.body as string)?.toLowerCase().endsWith('.webp') || (typeof (content as { url?: string }).url === 'string' && - (content as { url?: string }).url?.toLowerCase().includes('gif')); + ((content as { url?: string }).url?.toLowerCase().endsWith('.gif') || + (content as { url?: string }).url?.toLowerCase().endsWith('.apng') || + (content as { url?: string }).url?.toLowerCase().endsWith('.webp'))); return renderCaptionedAttachment(