Remove ping, update to latest spec proposal
This commit is contained in:
parent
82d04e347c
commit
90eb9cb0c8
2 changed files with 4 additions and 19 deletions
|
@ -138,10 +138,9 @@ textsecure.registerOnLoadFunction(function() {
|
|||
var socket = textsecure.api.getTempWebsocket();
|
||||
|
||||
socket.onmessage = function(message) {
|
||||
//TODO: Get a server format for this
|
||||
if (message.type === 4) {
|
||||
if (message.uuid) {
|
||||
qrCode.makeCode('textsecure-device-init:/' +
|
||||
'?channel_uuid=' + message.message +
|
||||
'?channel_uuid=' + message.uuid +
|
||||
'&channel_server=' + textsecure.api.relay +
|
||||
'&publicKey=' + btoa(getString(cryptoInfo.publicKey)));
|
||||
$('img').removeAttr('style');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue