adding mid on the message returned data on addMessage

v1.18.x
Aziz Khoury 10 years ago
parent e72ec429a2
commit 100f31be81

@ -74,8 +74,14 @@ var db = require('./database'),
if (err) {
return next(err);
}
if (!messages || !messages[0]) {
return next(null, null);
}
messages[0].newSet = isNewSet;
next(null, messages ? messages[0] : null);
messages[0].mid = mid;
next(null, messages[0]);
});
}
], callback);

Loading…
Cancel
Save