This commit is contained in:
Andris Reinman 2017-07-31 00:11:42 +03:00
parent 966db75e36
commit e1941b44e4

View file

@ -199,6 +199,8 @@ const serverOptions = {
.forEach(filter => {
matchingFilters.push(filter.id);
log.info('ddd', JSON.stringify(filter.action));
// apply matching filter
if (!filterActions) {
filterActions = filter.action;
@ -384,7 +386,7 @@ const serverOptions = {
// if similar message exists, then skip
skipExisting: true
};
log.info('ddd3', JSON.stringify(messageOptions));
messageHandler.add(messageOptions, (err, inserted, info) => {
// remove Delivered-To
chunks.shift();