aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2016-03-09 10:02:25 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2016-03-09 10:02:25 +0100
commitef137fd01f228c50027c356084a2e69e938e2511 (patch)
treea962b373cf44ea28953628622e28ad63f81e8ef4
parent8e3a7f03d189391f88f56b8ac7c96db709d7cba7 (diff)
downloadfosdem-2018-presentation-ef137fd01f228c50027c356084a2e69e938e2511.tar
fosdem-2018-presentation-ef137fd01f228c50027c356084a2e69e938e2511.tar.gz
server notes plugin no longer syncs overview mode #1446
-rw-r--r--plugin/notes-server/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/notes-server/index.js b/plugin/notes-server/index.js
index fc66a26..b95f071 100644
--- a/plugin/notes-server/index.js
+++ b/plugin/notes-server/index.js
@@ -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 );
});