mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-25 22:11:20 +01:00
update "Couldn't find account" msg
This commit is contained in:
parent
ed2709ec85
commit
9dffc92ef8
@ -61,10 +61,10 @@ function handleJoinRequest(parsed) {
|
|||||||
})
|
})
|
||||||
.then(checkFetchSuccess("code"))
|
.then(checkFetchSuccess("code"))
|
||||||
.finally(() => confirmJoin(parsed.session_hash))
|
.finally(() => confirmJoin(parsed.session_hash))
|
||||||
.catch((e) => addToast("Couldn't contact session server", "error: " + e));
|
.catch((e) => addToast("Couldn't contact session server", "Error: " + e));
|
||||||
} else {
|
} else {
|
||||||
confirmJoin(parsed.session_hash);
|
confirmJoin(parsed.session_hash);
|
||||||
addToast("Couldn't find account", parsed.user);
|
addToast("Couldn't find account", "Couldn't find " + parsed.user + ", check Accounts tab");
|
||||||
}
|
}
|
||||||
}, () => confirmJoin(parsed.session_hash));
|
}, () => confirmJoin(parsed.session_hash));
|
||||||
}
|
}
|
||||||
@ -122,4 +122,4 @@ function connect() {
|
|||||||
socket.onopen = onConnect;
|
socket.onopen = onConnect;
|
||||||
socket.onclose = onDisconnect
|
socket.onclose = onDisconnect
|
||||||
socket.onmessage = onSocketMsg;
|
socket.onmessage = onSocketMsg;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user