Fix app init order

This commit is contained in:
Cohee 2024-04-14 14:58:58 +03:00
parent 2ccb6dc275
commit 2a061fdf54
1 changed files with 1 additions and 1 deletions

View File

@ -897,11 +897,11 @@ async function firstLoadInit() {
throw new Error('Initialization failed'); throw new Error('Initialization failed');
} }
await getClientVersion();
await readSecretState(); await readSecretState();
await getSettings(); await getSettings();
getSystemMessages(); getSystemMessages();
sendSystemMessage(system_message_types.WELCOME); sendSystemMessage(system_message_types.WELCOME);
await getClientVersion();
initLocales(); initLocales();
initTags(); initTags();
await getUserAvatars(true, user_avatar); await getUserAvatars(true, user_avatar);