cleanup: remove string lid / jid refs and improve hosted support
This commit is contained in:
@@ -112,8 +112,8 @@ export const makeNoiseHandler = ({
|
||||
|
||||
const certDecoded = decrypt(serverHello!.payload!)
|
||||
|
||||
const { intermediate: certIntermediate } = proto.CertChain.decode(certDecoded)
|
||||
|
||||
const { intermediate: certIntermediate, leaf } = proto.CertChain.decode(certDecoded)
|
||||
// TODO: handle this leaf stuff
|
||||
const { issuerSerial } = proto.CertChain.NoiseCertificate.Details.decode(certIntermediate!.details!)
|
||||
|
||||
if (issuerSerial !== WA_CERT_DETAILS.SERIAL) {
|
||||
|
||||
Reference in New Issue
Block a user