Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ Notifier.prototype.start = function () {

self.imap.on('mail', function (id) {
self.dbg('mail event : %s', id);
// I need this event the message one comes after querying the inbox
self.emit('mail', id);
q.push({name: 'scan', id : id}, function(err) {
self.dbg('finished processing scan '+id);
});
Expand Down