diff --git a/src/store.js b/src/store.js index 3e907ae1..25a1f37c 100644 --- a/src/store.js +++ b/src/store.js @@ -392,6 +392,9 @@ const plexTogether = { }) }) state._socket.on('host-swap',function(user){ + if (!user){ + return + } commit('ADD_MESSAGE',{ msg: user.username + ' is now the host', user: user,