mtproto::Transport: bugfix
GitOrigin-RevId: ea53041b64a84292830e25e111bdbd31d21f1911
This commit is contained in:
parent
1f9052f85b
commit
9d5dd09fd7
@ -309,8 +309,7 @@ Result<Transport::ReadResult> Transport::read(MutableSlice message, const AuthKe
|
|||||||
MutableSlice data;
|
MutableSlice data;
|
||||||
if (info->type == PacketInfo::EndToEnd) {
|
if (info->type == PacketInfo::EndToEnd) {
|
||||||
TRY_STATUS(read_e2e_crypto(message, auth_key, info, &data));
|
TRY_STATUS(read_e2e_crypto(message, auth_key, info, &data));
|
||||||
}
|
} else if (info->no_crypto_flag) {
|
||||||
if (info->no_crypto_flag) {
|
|
||||||
TRY_STATUS(read_no_crypto(message, info, &data));
|
TRY_STATUS(read_no_crypto(message, info, &data));
|
||||||
} else {
|
} else {
|
||||||
if (auth_key.empty()) {
|
if (auth_key.empty()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user