mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix system message overwriting auto-loaded chat #281
This commit is contained in:
@@ -551,13 +551,13 @@ $.ajaxPrefilter((options, originalOptions, xhr) => {
|
|||||||
///// initialization protocol ////////
|
///// initialization protocol ////////
|
||||||
$.get("/csrf-token").then(async (data) => {
|
$.get("/csrf-token").then(async (data) => {
|
||||||
token = data.token;
|
token = data.token;
|
||||||
|
sendSystemMessage(system_message_types.WELCOME);
|
||||||
await readSecretState();
|
await readSecretState();
|
||||||
await getClientVersion();
|
await getClientVersion();
|
||||||
await getSettings("def");
|
await getSettings("def");
|
||||||
|
await getUserAvatars();
|
||||||
await getCharacters();
|
await getCharacters();
|
||||||
await getBackgrounds();
|
await getBackgrounds();
|
||||||
await getUserAvatars();
|
|
||||||
sendSystemMessage(system_message_types.WELCOME);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
function checkOnlineStatus() {
|
function checkOnlineStatus() {
|
||||||
|
Reference in New Issue
Block a user