diff --git a/js/libtextsecure.js b/js/libtextsecure.js index 4ecf2e9f8..bf6f3443b 100644 --- a/js/libtextsecure.js +++ b/js/libtextsecure.js @@ -39434,7 +39434,7 @@ MessageSender.prototype = { }, tryMessageAgain: function(number, encodedMessage, timestamp) { - var proto = textsecure.protobuf.DataMessage.decode(encodedMessage); + var proto = textsecure.protobuf.Content.decode(encodedMessage); return this.sendIndividualProto(number, proto, timestamp); }, diff --git a/libtextsecure/sendmessage.js b/libtextsecure/sendmessage.js index 68ea346b5..43f22ace7 100644 --- a/libtextsecure/sendmessage.js +++ b/libtextsecure/sendmessage.js @@ -144,7 +144,7 @@ MessageSender.prototype = { }, tryMessageAgain: function(number, encodedMessage, timestamp) { - var proto = textsecure.protobuf.DataMessage.decode(encodedMessage); + var proto = textsecure.protobuf.Content.decode(encodedMessage); return this.sendIndividualProto(number, proto, timestamp); },