server notes plugin no longer syncs overview mode #1446

This commit is contained in:
Hakim El Hattab 2016-03-09 10:02:25 +01:00
parent 8e3a7f03d1
commit ef137fd01f

View file

@ -22,10 +22,12 @@ io.on( 'connection', function( socket ) {
}); });
socket.on( 'statechanged', function( data ) { socket.on( 'statechanged', function( data ) {
delete data.state.overview;
socket.broadcast.emit( 'statechanged', data ); socket.broadcast.emit( 'statechanged', data );
}); });
socket.on( 'statechanged-speaker', function( data ) { socket.on( 'statechanged-speaker', function( data ) {
delete data.state.overview;
socket.broadcast.emit( 'statechanged-speaker', data ); socket.broadcast.emit( 'statechanged-speaker', data );
}); });