Delivery receipts
This commit is contained in:
parent
1a4811fcef
commit
6cbde7894a
3 changed files with 38 additions and 0 deletions
|
@ -47,6 +47,16 @@
|
|||
m.destroy().then(resolve).fail(reject);
|
||||
});
|
||||
}));
|
||||
},
|
||||
|
||||
fetchSentAt: function(timestamp) {
|
||||
return this.fetch({
|
||||
index: {
|
||||
// 'receipt' index on sent_at
|
||||
name: 'receipt',
|
||||
only: timestamp
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
})()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue