fix images on noogle

This commit is contained in:
Believethehype 2024-12-10 13:20:31 +01:00
parent cc13401e14
commit bcfb3c29d1
3 changed files with 6 additions and 6 deletions

View File

@ -500,7 +500,7 @@ async function addAllContentDVMs() {
result: [],
name: el.name,
about: el.about,
image: el.image,
image: el.picture,
amount: el.amount,
supportsEncryption: el.supportsEncryption,
acceptsNutZaps: el.acceptsNutZaps,
@ -581,7 +581,7 @@ async function addDVM(event) {
if (JSON.parse(el.event).pubkey === event.author.toHex()) {
jsonentry.name = el.name
jsonentry.about = el.about
jsonentry.image = el.image
jsonentry.image = el.picture
jsonentry.lud16 = el.lud16
jsonentry.supportsEncryption = el.supportsEncryption
jsonentry.acceptsNutZaps = el.acceptsNutZaps

View File

@ -164,7 +164,7 @@ async function listen() {
if (JSON.parse(el.event).pubkey === event.author.toHex().toString() && el.kind === "5100") {
jsonentry.name = el.name
jsonentry.about = el.about
jsonentry.image = el.image
jsonentry.image = el.picture
jsonentry.nip90Params = el.nip90Params
jsonentry.reactions = await dvmreactions(PublicKey.parse(el.id), store.state.followings)
jsonentry.reactions.negativeUser = false
@ -220,7 +220,7 @@ async function listen() {
if (JSON.parse(el.event).pubkey === event.author.toHex().toString() && el.kind === "5100") {
jsonentry.name = el.name
jsonentry.about = el.about
jsonentry.image = el.image
jsonentry.image = el.picture
jsonentry.nip90Params = el.nip90Params
jsonentry.reactions = await dvmreactions(PublicKey.parse(el.id), store.state.followings)
jsonentry.event = Event.fromJson(el.event)

View File

@ -520,7 +520,7 @@ async function addAllContentDVMs() {
result: [],
name: el.name,
about: el.about,
image: el.image,
image: el.picture,
amount: el.amount,
encryptionSupported: el.encryptionSupported,
cashuAccepted: el.cashuAccepted,
@ -601,7 +601,7 @@ async function addDVM(event) {
if (JSON.parse(el.event).pubkey === event.author.toHex()) {
jsonentry.name = el.name
jsonentry.about = el.about
jsonentry.image = el.image
jsonentry.image = el.picture
jsonentry.lud16 = el.lud16
jsonentry.encryptionSupported = el.encryptionSupported
jsonentry.cashuAccepted = el.cashuAccepted