Fix a missing function and dont blow up on delivery receipts

This commit is contained in:
Matt Corallo 2014-07-26 01:53:24 -04:00
parent d9f53d4c01
commit f6f35c5b61
4 changed files with 13 additions and 1 deletions

View file

@ -350,6 +350,10 @@ window.textsecure.api = function() {
else
console.log("Got invalid message from server: " + message);
};
socketWrapper.send = function(msg) {
socket.send(msg);
}
};
connect();