message: Skip subsequent filters instead of rejecting the promise
diff: @@ -45,16 +45,22 @@ export function getDispatcher(service, ev, data, hook) {
  debug(`Dispatching ${eventFilters.length} event filters for '${ev}' event`);
  eventFilters.forEach(filterFn => {
  if (filterFn.length === 4) { // function(data, connection, hook, callback)
  - promise = promise.then(data =>
  - promisify(filterFn, service, data, connection, hook)
  - );
  + promise = promise.then(data => {
  + if(data) {
  + return promisify(filterFn, service, data, connection, hook);
  + }
  +
  + return data;
  + });
  } else { // function(data, connection, hook)
  - promise = promise.then(data =>
  - filterFn.call(service, data, connection, hook)
  - );
  + promise = promise.then(data => {
  + if(data) {
  + return filterFn.call(service, data, connection, hook);
  }
  - promise = promise.then(data => data ? data : Promise.reject());
  + return data;
  + });
  + }
  });
  }
  