diff --git a/packages/app/src/Element/Embed/PubkeyList.tsx b/packages/app/src/Element/Embed/PubkeyList.tsx index d3ce0ba8..5e2b2946 100644 --- a/packages/app/src/Element/Embed/PubkeyList.tsx +++ b/packages/app/src/Element/Embed/PubkeyList.tsx @@ -2,7 +2,7 @@ import { NostrEvent } from "@snort/system"; import { FormattedMessage, FormattedNumber } from "react-intl"; import { LNURL } from "@snort/shared"; -import { dedupe, hexToBech32 } from "SnortUtils"; +import { dedupe, findTag, hexToBech32 } from "SnortUtils"; import FollowListBase from "Element/User/FollowListBase"; import AsyncButton from "Element/AsyncButton"; import { useWallet } from "Wallet"; @@ -66,12 +66,12 @@ export default function PubkeyList({ ev, className }: { ev: NostrEvent; classNam pubkeys={ids} showAbout={true} className={className} - title={ev.tags.find(a => a[0] === "d")?.[1]} + title={findTag(ev, "title") ?? findTag(ev, "d")} actions={ <> - zapAll()}> + zapAll()}> , }} diff --git a/packages/app/src/Element/Event/Note.tsx b/packages/app/src/Element/Event/Note.tsx index 9b54a6e5..44b72252 100644 --- a/packages/app/src/Element/Event/Note.tsx +++ b/packages/app/src/Element/Event/Note.tsx @@ -48,7 +48,7 @@ export default function Note(props: NoteProps) { if (ev.kind === EventKind.ZapstrTrack) { return ; } - if (ev.kind === EventKind.PubkeyLists) { + if (ev.kind === EventKind.PubkeyLists || ev.kind === EventKind.ContactList) { return ; } if (ev.kind === EventKind.LiveEvent) { diff --git a/packages/app/src/lang.json b/packages/app/src/lang.json index c819e21f..bfc6061c 100644 --- a/packages/app/src/lang.json +++ b/packages/app/src/lang.json @@ -292,9 +292,6 @@ "defaultMessage": "Parent", "description": "Link to parent note in thread" }, - "AGNz71": { - "defaultMessage": "Zap All {n} sats" - }, "AN0Z7Q": { "defaultMessage": "Muted Words" }, @@ -528,6 +525,9 @@ "IUZC+0": { "defaultMessage": "This means that nobody can modify notes which you have created and everybody can easily verify that the notes they are reading are created by you." }, + "IVbtTS": { + "defaultMessage": "Zap all {n} sats" + }, "Ig9/a1": { "defaultMessage": "Sent {n} sats to {name}" }, diff --git a/packages/app/src/translations/en.json b/packages/app/src/translations/en.json index 613b5486..caa499d4 100644 --- a/packages/app/src/translations/en.json +++ b/packages/app/src/translations/en.json @@ -95,7 +95,6 @@ "9pMqYs": "Nostr Address", "9wO4wJ": "Lightning Invoice", "ADmfQT": "Parent", - "AGNz71": "Zap All {n} sats", "AN0Z7Q": "Muted Words", "ASRK0S": "This author has been muted", "Adk34V": "Setup your Profile", @@ -173,6 +172,7 @@ "IKKHqV": "Follows", "INSqIz": "Twitter username...", "IUZC+0": "This means that nobody can modify notes which you have created and everybody can easily verify that the notes they are reading are created by you.", + "IVbtTS": "Zap all {n} sats", "Ig9/a1": "Sent {n} sats to {name}", "IoQq+a": "Click here to load anyway", "Ix8l+B": "Trending Notes",