Load secret state before settings

This commit is contained in:
Cohee 2024-03-20 21:11:59 +02:00
parent 839dc31822
commit 7e0313461a
1 changed files with 1 additions and 1 deletions

View File

@ -843,11 +843,11 @@ async function firstLoadInit() {
} }
await getClientVersion(); await getClientVersion();
await readSecretState();
await getSettings(); await getSettings();
getSystemMessages(); getSystemMessages();
sendSystemMessage(system_message_types.WELCOME); sendSystemMessage(system_message_types.WELCOME);
initLocales(); initLocales();
await readSecretState();
await getUserAvatars(true, user_avatar); await getUserAvatars(true, user_avatar);
await getCharacters(); await getCharacters();
await getBackgrounds(); await getBackgrounds();