diff --git a/ui/noogle/src/components/FilterGeneration.vue b/ui/noogle/src/components/FilterGeneration.vue index 6c46329..9af156f 100644 --- a/ui/noogle/src/components/FilterGeneration.vue +++ b/ui/noogle/src/components/FilterGeneration.vue @@ -413,7 +413,7 @@ async function listen() { let picture = profile === undefined ? "../assets/nostr-purple.svg" : profile["profile"]["picture"] let highlighterurl = "https://highlighter.com/e/" + profile["author"] - let njumpurl = "https://njump.me/" + profile["author"] + let njumpurl = "https://njump.me/" + PublicKey.parse(profile["author"]).toBech32() let nostrudelurl = "https://nostrudel.ninja/#/n/" + profile["author"] @@ -438,7 +438,7 @@ async function listen() { event: profile, author: name, authorid: profile["author"], - authorurl: "https://njump.me/" +profile["author"], + authorurl: "https://njump.me/" + PublicKey.parse(profile["author"]).toBech32(), links: { "highlighter": highlighterurl, "njump": njumpurl, @@ -878,6 +878,7 @@ async function mute(result) { else{ jsonObject.push(["p", result.authorid]) + store.state.mutes.push(result.authorid) let newcontent = JSON.stringify(jsonObject) console.log(newcontent) eventasjson.content = await (await signer).nip04Encrypt(store.state.pubkey, newcontent) @@ -1333,16 +1334,21 @@ const submitHandler = async () => {