feat: 💨
This commit is contained in:
@@ -2,6 +2,7 @@ import LoginDialog from '@/components/LoginDialog'
|
|||||||
import { ApplicationDataKey, BIG_RELAY_URLS, ExtendedKind } from '@/constants'
|
import { ApplicationDataKey, BIG_RELAY_URLS, ExtendedKind } from '@/constants'
|
||||||
import {
|
import {
|
||||||
createFollowListDraftEvent,
|
createFollowListDraftEvent,
|
||||||
|
createMuteListDraftEvent,
|
||||||
createRelayListDraftEvent,
|
createRelayListDraftEvent,
|
||||||
createSeenNotificationsAtDraftEvent
|
createSeenNotificationsAtDraftEvent
|
||||||
} from '@/lib/draft-event'
|
} from '@/lib/draft-event'
|
||||||
@@ -538,6 +539,7 @@ export function NostrProvider({ children }: { children: React.ReactNode }) {
|
|||||||
const setupNewUser = async (signer: ISigner) => {
|
const setupNewUser = async (signer: ISigner) => {
|
||||||
await Promise.allSettled([
|
await Promise.allSettled([
|
||||||
client.publishEvent(BIG_RELAY_URLS, await signer.signEvent(createFollowListDraftEvent([]))),
|
client.publishEvent(BIG_RELAY_URLS, await signer.signEvent(createFollowListDraftEvent([]))),
|
||||||
|
client.publishEvent(BIG_RELAY_URLS, await signer.signEvent(createMuteListDraftEvent([]))),
|
||||||
client.publishEvent(
|
client.publishEvent(
|
||||||
BIG_RELAY_URLS,
|
BIG_RELAY_URLS,
|
||||||
await signer.signEvent(
|
await signer.signEvent(
|
||||||
|
|||||||
Reference in New Issue
Block a user