From a2e021ccdb9d6acfc9cfa92d334430fbc1d1366a Mon Sep 17 00:00:00 2001 From: David Banham Date: Mon, 6 Aug 2012 11:20:08 +1000 Subject: Don't suppress the whole event, just add context metadata --- plugin/multiplex/master.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/multiplex/master.js') diff --git a/plugin/multiplex/master.js b/plugin/multiplex/master.js index cf629d9..3704fa4 100644 --- a/plugin/multiplex/master.js +++ b/plugin/multiplex/master.js @@ -27,6 +27,6 @@ socketId : multiplex.id }; - socket.emit('slidechanged', slideData); + if( event.origin !== 'remote') socket.emit('slidechanged', slideData); } ); }()); -- cgit v1.2.3