diff --git a/js/background.js b/js/background.js index 06064f418..8d661fc4b 100644 --- a/js/background.js +++ b/js/background.js @@ -232,6 +232,12 @@ var messages = new Whisper.MessageCollection(); var groups = new Whisper.ConversationCollection(); console.log('delivery receipt', pushMessage.source, timestamp); + + if (pushMessage.source === textsecure.storage.user.getNumber()) { + // disregard delivery receipts from myself + return; + } + messages.fetchSentAt(timestamp).then(function() { groups.fetchGroups(pushMessage.source).then(function() { var found = false;