Join default spaces on signup

This commit is contained in:
Jon Staab
2026-06-09 17:19:44 -07:00
parent 397179d550
commit 7bfbb17479
6 changed files with 34 additions and 5 deletions
+5
View File
@@ -22,8 +22,10 @@
INDEXER_RELAYS,
DEFAULT_RELAYS,
DEFAULT_MESSAGING_RELAYS,
DEFAULT_SPACES,
} from "@app/env"
import {setChecked} from "@app/notifications"
import {setSpaces} from "@app/groups"
import {loginWithPomade} from "@app/pomade"
import {pushModal, clearModals} from "@app/modal"
@@ -52,6 +54,9 @@
// Save the user's profile
initProfile(getKey<Profile>("signup.profile")!)
// Auto-join default spaces
setSpaces(DEFAULT_SPACES)
// Don't show any notifications for old content
setChecked("*")