From 215617740d15f46022dce479f3f412b4d62f44f8 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Mon, 9 Nov 2015 16:23:57 +0100 Subject: server notes sync slide changes both ways, fixes #1425 --- plugin/notes-server/index.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugin/notes-server/index.js') diff --git a/plugin/notes-server/index.js b/plugin/notes-server/index.js index 75838de..683f064 100644 --- a/plugin/notes-server/index.js +++ b/plugin/notes-server/index.js @@ -26,6 +26,10 @@ io.on( 'connection', function( socket ) { socket.broadcast.emit( 'statechanged', data ); }); + socket.on( 'statechanged-speaker', function( data ) { + socket.broadcast.emit( 'statechanged-speaker', data ); + }); + }); [ 'css', 'js', 'images', 'plugin', 'lib' ].forEach( function( dir ) { -- cgit v1.2.3