Fix ProxySecret::get_encoded_secret.
GitOrigin-RevId: 0eeb524a0f710efe8ad04311f61c794345ba56ac
This commit is contained in:
parent
2f52861c20
commit
888b0206ac
@ -39,7 +39,7 @@ string ProxySecret::get_encoded_secret() const {
|
|||||||
if (emulate_tls()) {
|
if (emulate_tls()) {
|
||||||
return base64url_encode(secret_);
|
return base64url_encode(secret_);
|
||||||
}
|
}
|
||||||
return buffer_to_hex(secret_);
|
return hex_encode(secret_);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace mtproto
|
} // namespace mtproto
|
||||||
|
Reference in New Issue
Block a user