Delivery receipts

This commit is contained in:
lilia 2014-12-19 17:15:57 -08:00
parent 1a4811fcef
commit 6cbde7894a
3 changed files with 38 additions and 0 deletions

View file

@ -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
}
});
}
});
})()