Backwards compability with old servers

This commit is contained in:
samcm 2017-04-10 22:46:44 +10:00
parent 179c5ca2e8
commit 32fa4e1ff7
1 changed files with 3 additions and 0 deletions

View File

@ -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,