Mark group creation messages as sent
This commit is contained in:
parent
3e4c571749
commit
56341769bd
1 changed files with 2 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue