diff options
author | David Banham <david.banham@gmail.com> | 2012-08-06 11:20:08 +1000 |
---|---|---|
committer | David Banham <david.banham@gmail.com> | 2012-08-06 11:20:08 +1000 |
commit | a2e021ccdb9d6acfc9cfa92d334430fbc1d1366a (patch) | |
tree | f73c82d1a5ba6da705be24be33d5f05523cd8fa0 /plugin/multiplex/master.js | |
parent | ee12450458ded62e176dd8b500574463297c9baa (diff) | |
download | fosdem-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.js | 2 |
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); } ); }()); |