diff --git a/app/resources/js/app.js b/app/resources/js/app.js index e0631a0..f668d35 100755 --- a/app/resources/js/app.js +++ b/app/resources/js/app.js @@ -240,6 +240,10 @@ const app = new Vue({ }); this.gateway.socket.on('refreshClient', (e) => { console.log('[*] [gateway] Gateway requested refresh', e); + this.gateway.disconnect(); + this.messages = {}; + this.userLists = {}; + this.message.typed = ''; if (e.reason === 'exit') { this.showApp = false; this.okNotification('The server has exited. Sit tight!');