Skip to content

Commit

Permalink
server notes plugin no longer syncs overview mode hakimel#1446
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Mar 9, 2016
1 parent 8e3a7f0 commit ef137fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin/notes-server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ io.on( 'connection', function( socket ) {
});

socket.on( 'statechanged', function( data ) {
delete data.state.overview;
socket.broadcast.emit( 'statechanged', data );
});

socket.on( 'statechanged-speaker', function( data ) {
delete data.state.overview;
socket.broadcast.emit( 'statechanged-speaker', data );
});

Expand Down

0 comments on commit ef137fd

Please sign in to comment.