aboutsummaryrefslogtreecommitdiff
path: root/plugin/multiplex/master.js
diff options
context:
space:
mode:
authorDavid Banham <david.banham@gmail.com>2012-08-06 11:20:08 +1000
committerDavid Banham <david.banham@gmail.com>2012-08-06 11:20:08 +1000
commita2e021ccdb9d6acfc9cfa92d334430fbc1d1366a (patch)
treef73c82d1a5ba6da705be24be33d5f05523cd8fa0 /plugin/multiplex/master.js
parentee12450458ded62e176dd8b500574463297c9baa (diff)
downloadfosdem-2018-presentation-a2e021ccdb9d6acfc9cfa92d334430fbc1d1366a.tar
fosdem-2018-presentation-a2e021ccdb9d6acfc9cfa92d334430fbc1d1366a.tar.gz
Don't suppress the whole event, just add context metadata
Diffstat (limited to 'plugin/multiplex/master.js')
-rw-r--r--plugin/multiplex/master.js2
1 files changed, 1 insertions, 1 deletions
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);
} );
}());