Refactor delivery receipt tracking

Move code for matching receipts to messages (and vice versa) to its own
file.

// FREEBIE
This commit is contained in:
lilia 2016-04-11 15:06:06 -07:00
parent 18012688ea
commit d1e9534542
5 changed files with 80 additions and 56 deletions

View file

@ -509,12 +509,14 @@
},
fetchGroups: function(number) {
return this.fetch({
index: {
name: 'group',
only: number
}
});
return new Promise(function(resolve) {
this.fetch({
index: {
name: 'group',
only: number
}
}).always(resolve);
}.bind(this));
},
fetchActive: function() {