feat: 💨
This commit is contained in:
parent
cb2ad30b1d
commit
32ec3af729
1 changed files with 2 additions and 0 deletions
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue