update "Couldn't find account" msg

This commit is contained in:
creeper123123321 2021-05-11 17:24:14 -03:00 committed by GitHub
parent ed2709ec85
commit 9dffc92ef8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,10 +61,10 @@ function handleJoinRequest(parsed) {
})
.then(checkFetchSuccess("code"))
.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 {
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));
}
@ -122,4 +122,4 @@ function connect() {
socket.onopen = onConnect;
socket.onclose = onDisconnect
socket.onmessage = onSocketMsg;
}
}