Remove api TODO comments

// FREEBIE
This commit is contained in:
lilia 2015-11-04 10:31:50 -08:00
parent 80d32103d1
commit f863616785
2 changed files with 4 additions and 10 deletions

View file

@ -39004,8 +39004,8 @@ var TextSecureServer = (function() {
};
}
//TODO: This is just to make the server happy (v2 clients should choke on publicKey),
// it needs removed before release
// This is just to make the server happy
// (v2 clients should choke on publicKey)
keys.lastResortKey = {keyId: 0x7fffFFFF, publicKey: btoa("42")};
return this.ajax({
@ -39037,9 +39037,6 @@ var TextSecureServer = (function() {
res.devices[i].signedPreKey.publicKey = StringView.base64ToBytes(res.devices[i].signedPreKey.publicKey);
res.devices[i].signedPreKey.signature = StringView.base64ToBytes(res.devices[i].signedPreKey.signature);
res.devices[i].preKey.publicKey = StringView.base64ToBytes(res.devices[i].preKey.publicKey);
//TODO: Is this still needed?
//if (res.devices[i].keyId === undefined)
// res.devices[i].keyId = 0;
}
return res;
});

View file

@ -209,8 +209,8 @@ var TextSecureServer = (function() {
};
}
//TODO: This is just to make the server happy (v2 clients should choke on publicKey),
// it needs removed before release
// This is just to make the server happy
// (v2 clients should choke on publicKey)
keys.lastResortKey = {keyId: 0x7fffFFFF, publicKey: btoa("42")};
return this.ajax({
@ -242,9 +242,6 @@ var TextSecureServer = (function() {
res.devices[i].signedPreKey.publicKey = StringView.base64ToBytes(res.devices[i].signedPreKey.publicKey);
res.devices[i].signedPreKey.signature = StringView.base64ToBytes(res.devices[i].signedPreKey.signature);
res.devices[i].preKey.publicKey = StringView.base64ToBytes(res.devices[i].preKey.publicKey);
//TODO: Is this still needed?
//if (res.devices[i].keyId === undefined)
// res.devices[i].keyId = 0;
}
return res;
});