From 9dffc92ef88772fca7b14173b763fb76ff9634e1 Mon Sep 17 00:00:00 2001 From: creeper123123321 <7974274+creeper123123321@users.noreply.github.com> Date: Tue, 11 May 2021 17:24:14 -0300 Subject: [PATCH] update "Couldn't find account" msg --- src/main/resources/web/js/websocket.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/web/js/websocket.js b/src/main/resources/web/js/websocket.js index decec7b..25d6487 100644 --- a/src/main/resources/web/js/websocket.js +++ b/src/main/resources/web/js/websocket.js @@ -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; -} \ No newline at end of file +}