Add missing TODO
This commit is contained in:
parent
b356403061
commit
1e318a8293
1 changed files with 1 additions and 0 deletions
|
@ -130,6 +130,7 @@ window.textsecure.messaging = function() {
|
||||||
var tryMessageAgain = function(number, encodedMessage, message_id) {
|
var tryMessageAgain = function(number, encodedMessage, message_id) {
|
||||||
var message = new Whisper.MessageCollection().add({id: message_id});
|
var message = new Whisper.MessageCollection().add({id: message_id});
|
||||||
message.fetch().then(function() {
|
message.fetch().then(function() {
|
||||||
|
//TODO: Encapsuate with the rest of textsecure.storage.devices
|
||||||
textsecure.storage.removeEncrypted("devices" + number);
|
textsecure.storage.removeEncrypted("devices" + number);
|
||||||
var proto = textsecure.protobuf.PushMessageContent.decode(encodedMessage, 'binary');
|
var proto = textsecure.protobuf.PushMessageContent.decode(encodedMessage, 'binary');
|
||||||
sendMessageProto(message.get('sent_at'), [number], proto, function(res) {
|
sendMessageProto(message.get('sent_at'), [number], proto, function(res) {
|
||||||
|
|
Loading…
Reference in a new issue