Process delivery receipts from yourself

Fixes #668

// FREEBIE
This commit is contained in:
lilia 2016-02-11 11:44:58 -08:00
parent cd7bc78b1d
commit 496ac30d6f

View file

@ -234,11 +234,6 @@
var groups = new Whisper.ConversationCollection();
console.log('delivery receipt from', pushMessage.source + '.' + pushMessage.sourceDevice, timestamp);
if (pushMessage.source === textsecure.storage.user.getNumber()) {
// disregard delivery receipts from myself
return;
}
groups.fetchGroups(pushMessage.source).then(function() {
messages.fetchSentAt(timestamp).then(function() {
var ids = groups.pluck('id');