From 25a13a177c072ee39865a1e950562a71b9695200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Thu, 25 Mar 2021 15:09:46 +0100 Subject: [PATCH] fix disconnects. --- src/component/main.vue | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/component/main.vue b/src/component/main.vue index 2dc76795..13f2f71a 100644 --- a/src/component/main.vue +++ b/src/component/main.vue @@ -240,10 +240,6 @@ } public websocketDisconnect() { - if (!this.authenticated) { - throw new Error('client not authenticated') - } - if (!this.connected) { throw new Error('client not connected to websocket') } @@ -264,10 +260,6 @@ } public webrtcDisconnect() { - if (!this.connected) { - throw new Error('client not connected to websocket') - } - if (!this.watching) { throw new Error('client not connected to webrtc') }