Browse Source

bugfix

imwald
Silberengel 5 months ago
parent
commit
6580ad4a6e
  1. 1
      src/components/NotificationList/NotificationItem/PublicMessageNotification.tsx
  2. 3
      src/services/client.service.ts

1
src/components/NotificationList/NotificationItem/PublicMessageNotification.tsx

@ -1,4 +1,3 @@ @@ -1,4 +1,3 @@
import { ExtendedKind } from '@/constants'
import { useNostr } from '@/providers/NostrProvider'
import { MessageCircle } from 'lucide-react'
import { Event } from 'nostr-tools'

3
src/services/client.service.ts

@ -113,8 +113,7 @@ class ClientService extends EventTarget { @@ -113,8 +113,7 @@ class ClientService extends EventTarget {
})
if (mentions.length > 0) {
const relayLists = await this.fetchRelayLists(mentions)
relayLists.forEach((relayList, index) => {
const mentionPubkey = mentions[index]
relayLists.forEach((relayList) => {
_additionalRelayUrls.push(...relayList.read.slice(0, 4))
})
}

Loading…
Cancel
Save