Skip to content

Commit

Permalink
Respond to the master instead of publishing for all monitors
Browse files Browse the repository at this point in the history
  • Loading branch information
zalmoxisus committed Jan 6, 2016
1 parent d001931 commit eb3e240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/services/messaging.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ export function subscribe(subscriber) {
}

export function dispatchRemotely(action) {
channel.publish({ type: 'DISPATCH', action });
socket.emit('respond', { type: 'DISPATCH', action });
}

0 comments on commit eb3e240

Please sign in to comment.