From: Dessalines Date: Sat, 31 Jul 2021 14:30:08 +0000 (-0400) Subject: Remove websocket connection messages. Fixes #355 X-Git-Url: http://these/git/readmes/%24%7B%60data:application/static/%7BpictshareAvatarThumbnail%28?a=commitdiff_plain;h=440d0f9156bf5d64e1cc59f8d5182f307ef0b5d9;p=lemmy-ui.git Remove websocket connection messages. Fixes #355 --- diff --git a/src/shared/components/app/navbar.tsx b/src/shared/components/app/navbar.tsx index 00381f6..114ffb7 100644 --- a/src/shared/components/app/navbar.tsx +++ b/src/shared/components/app/navbar.tsx @@ -395,7 +395,7 @@ export class Navbar extends Component { } return; } else if (msg.reconnect) { - toast(i18n.t("websocket_reconnected"), "success"); + console.log(i18n.t("websocket_reconnected")); WebSocketService.Instance.send( wsClient.userJoin({ auth: authField(), @@ -542,7 +542,7 @@ export class Navbar extends Component { websocketEvents() { let msg = i18n.t("websocket_disconnected"); WebSocketService.Instance.closeEventListener(() => { - toast(msg, "danger"); + console.error(msg); }); }