CONFIG.defaultPreferences.checkSigs

This commit is contained in:
Martti Malmi
2023-12-08 18:30:52 +02:00
parent bee8498283
commit 4d6331ce81
4 changed files with 10 additions and 1 deletions

View File

@ -21,6 +21,9 @@
"signUp": { "signUp": {
"moderation": true "moderation": true
}, },
"defaultPreferences": {
"checkSigs": false
},
"noteCreatorToast": true, "noteCreatorToast": true,
"hideFromNavbar": ["/graph"], "hideFromNavbar": ["/graph"],
"deckSubKind": 1, "deckSubKind": 1,

View File

@ -21,6 +21,9 @@
"signUp": { "signUp": {
"moderation": false "moderation": false
}, },
"defaultPreferences": {
"checkSigs": true
},
"hideFromNavbar": [], "hideFromNavbar": [],
"eventLinkPrefix": "note", "eventLinkPrefix": "note",
"profileLinkPrefix": "npub", "profileLinkPrefix": "npub",

View File

@ -59,6 +59,9 @@ declare const CONFIG: {
deck: boolean; deck: boolean;
zapPool: boolean; zapPool: boolean;
}; };
defaultPreferences: {
checkSigs: boolean;
}
signUp: { signUp: {
moderation: boolean; moderation: boolean;
}; };

View File

@ -114,6 +114,6 @@ export const DefaultPreferences = {
telemetry: true, telemetry: true,
showBadges: false, showBadges: false,
showStatus: true, showStatus: true,
checkSigs: false, checkSigs: CONFIG.defaultPreferences.checkSigs,
autoTranslate: true, autoTranslate: true,
} as UserPreferences; } as UserPreferences;