Mark group creation messages as sent

This commit is contained in:
lilia 2015-07-08 16:47:29 -07:00
parent 3e4c571749
commit 56341769bd

View file

@ -152,6 +152,8 @@
group.get('members')
).catch(function(errors) {
message.save({errors: errors.map(function(e){return e.error;})});
}).then(function() {
message.save({sent: true});
});
}.bind(this));
}.bind(this));