diff --git a/src/renderer/components/watch-video-live-chat/watch-video-live-chat.js b/src/renderer/components/watch-video-live-chat/watch-video-live-chat.js index 259732c8..cb6ee429 100644 --- a/src/renderer/components/watch-video-live-chat/watch-video-live-chat.js +++ b/src/renderer/components/watch-video-live-chat/watch-video-live-chat.js @@ -118,6 +118,9 @@ export default Vue.extend({ this.liveChat.on('end', (reason) => { console.log('Live chat has ended') console.log(reason) + this.hasError = true + this.showEnableChat = false + this.errorMessage = 'Chat is disabled or the Live Stream has ended.' }) this.liveChat.on('error', (err) => { diff --git a/src/renderer/components/watch-video-live-chat/watch-video-live-chat.vue b/src/renderer/components/watch-video-live-chat/watch-video-live-chat.vue index 4a21390d..68aa14ba 100644 --- a/src/renderer/components/watch-video-live-chat/watch-video-live-chat.vue +++ b/src/renderer/components/watch-video-live-chat/watch-video-live-chat.vue @@ -17,6 +17,7 @@ class="errorIcon" />