Save messages from 'Compose' UI

pull/749/head
lilia 11 years ago
parent b852e68290
commit 810aabf2a6

@ -53,6 +53,7 @@ textsecure.registerOnLoadFunction(function() {
}
var messageProto = new PushMessageContentProtobuf();
messageProto.body = $("#popup_send_text").val();
Whisper.Messages.addOutgoingMessage(messageProto, numbers[0]);
textsecure.sendMessage(numbers, messageProto,
//TODO: Handle result
function(thing) {console.log(thing);});

Loading…
Cancel
Save