diff --git a/src/Element/HyperText.tsx b/src/Element/HyperText.tsx index 1f096e4..b6f5183 100644 --- a/src/Element/HyperText.tsx +++ b/src/Element/HyperText.tsx @@ -22,12 +22,14 @@ import { HexKey } from "Nostr"; export default function HyperText({ link, creator }: { link: string; creator: HexKey }) { const pref = useSelector((s: RootState) => s.login.preferences); const follows = useSelector((s: RootState) => s.login.follows); + const publicKey = useSelector((s: RootState) => s.login.publicKey); const render = useCallback(() => { const a = link; try { const hideNonFollows = pref.autoLoadMedia === "follows-only" && !follows.includes(creator); - if (pref.autoLoadMedia === "none" || hideNonFollows) { + const isMine = creator === publicKey; + if (pref.autoLoadMedia === "none" || (!isMine && hideNonFollows)) { return ( e.stopPropagation()} target="_blank" rel="noreferrer" className="ext"> {a}