import { useStorage } from '@libs/storage/provider'; import { CheckCircleIcon } from '@shared/icons'; import { useOnboarding } from '@stores/onboarding'; export function OutboxModel() { const { db } = useStorage(); const [outbox, setOutbox] = useOnboarding((state) => [ state.outbox, state.toggleOutbox, ]); const enableOutbox = async () => { await db.createSetting('outbox', '1'); setOutbox(); }; return (
Enable Outbox (experiment)

When you request information about a user, Lume will automatically query the user's outbox relays and subsequent queries will favour using those relays for queries with that user's pubkey.

{outbox ? (
) : ( )}
); }