diff --git a/src/Element/HyperText.tsx b/src/Element/HyperText.tsx index 71c720a4..b6f51835 100644 --- a/src/Element/HyperText.tsx +++ b/src/Element/HyperText.tsx @@ -27,15 +27,14 @@ export default function HyperText({ link, creator }: { link: string; creator: He const render = useCallback(() => { const a = link; try { - if (creator !== publicKey) { - const hideNonFollows = pref.autoLoadMedia === "follows-only" && !follows.includes(creator); - if (pref.autoLoadMedia === "none" || hideNonFollows) { - return ( - e.stopPropagation()} target="_blank" rel="noreferrer" className="ext"> - {a} - - ); - } + const hideNonFollows = pref.autoLoadMedia === "follows-only" && !follows.includes(creator); + const isMine = creator === publicKey; + if (pref.autoLoadMedia === "none" || (!isMine && hideNonFollows)) { + return ( + e.stopPropagation()} target="_blank" rel="noreferrer" className="ext"> + {a} + + ); } const url = new URL(a); const youtubeId = YoutubeUrlRegex.test(a) && RegExp.$1;