diff --git a/src/app/components/message/ReactionKeyInline.tsx b/src/app/components/message/ReactionKeyInline.tsx index ae84f4471..a22c7c709 100644 --- a/src/app/components/message/ReactionKeyInline.tsx +++ b/src/app/components/message/ReactionKeyInline.tsx @@ -23,7 +23,7 @@ export function ReactionKeyInline({ const [imgError, setImgError] = useState(false); const rawReactionUrl = reactionKey && reactionKey.startsWith('mxc://') - ? (mxcUrlToHttp(mx, reactionKey, useAuthentication, 32, 32, 'crop') ?? undefined) + ? (mxcUrlToHttp(mx, reactionKey, useAuthentication) ?? undefined) : undefined; const renderableReactionUrl = useRenderableMediaUrl(rawReactionUrl); diff --git a/src/app/plugins/react-custom-html-parser.tsx b/src/app/plugins/react-custom-html-parser.tsx index 0f430d3d2..a4dd5c270 100644 --- a/src/app/plugins/react-custom-html-parser.tsx +++ b/src/app/plugins/react-custom-html-parser.tsx @@ -868,7 +868,7 @@ export const getReactCustomHtmlParser = ( const title = attrString(props.title); const isEmoticon = 'data-mx-emoticon' in props; const htmlSrc = isEmoticon - ? (mxcUrlToHttp(mx, src, params.useAuthentication, 32, 32, 'crop') ?? undefined) + ? (mxcUrlToHttp(mx, src, params.useAuthentication) ?? undefined) : (mxcUrlToHttp(mx, src, params.useAuthentication, 640, 480, 'scale') ?? undefined); const fallbackLabel = alt || title || '[media]'; const failedToResolveMxc = src.startsWith('mxc://') && !htmlSrc;