server notes plugin no longer syncs overview mode #1446

edit
Hakim El Hattab 2016-03-09 10:02:25 +01:00
parent 8e3a7f03d1
commit ef137fd01f
1 changed files with 2 additions and 0 deletions

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 );
}); });