mark register notif read when its rejected

v1.18.x
barisusakli 10 years ago
parent db90d19b45
commit 6ce6503970

@ -120,7 +120,14 @@ module.exports = function(User) {
}
User.rejectRegistration = function(username, callback) {
removeFromQueue(username, callback);
async.waterfall([
function (next) {
removeFromQueue(username, next);
},
function (next) {
markNotificationRead(username, next);
}
], callback);
};
function removeFromQueue(username, callback) {

Loading…
Cancel
Save