From 1e318a8293480c56bb0927a216d5f59a25cc1017 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 21 Jan 2015 18:06:32 -1000 Subject: [PATCH] Add missing TODO --- libtextsecure/sendmessage.js | 1 + 1 file changed, 1 insertion(+) diff --git a/libtextsecure/sendmessage.js b/libtextsecure/sendmessage.js index 53c8540b..30a36579 100644 --- a/libtextsecure/sendmessage.js +++ b/libtextsecure/sendmessage.js @@ -130,6 +130,7 @@ window.textsecure.messaging = function() { var tryMessageAgain = function(number, encodedMessage, message_id) { var message = new Whisper.MessageCollection().add({id: message_id}); message.fetch().then(function() { + //TODO: Encapsuate with the rest of textsecure.storage.devices textsecure.storage.removeEncrypted("devices" + number); var proto = textsecure.protobuf.PushMessageContent.decode(encodedMessage, 'binary'); sendMessageProto(message.get('sent_at'), [number], proto, function(res) {