mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2026-04-05 22:45:38 +00:00
fix issue with MTProxy and media dc_id
This commit is contained in:
parent
b1c8d225f2
commit
f620514759
2 changed files with 4 additions and 2 deletions
|
|
@ -56,6 +56,7 @@ namespace WTelegram
|
|||
new_nonce = new Int256(RNG),
|
||||
dc = session.DataCenter?.id ?? 0
|
||||
};
|
||||
if (session.DataCenter?.flags.HasFlag(DcOption.Flags.media_only) == true) pqInnerData.dc = -pqInnerData.dc;
|
||||
byte[] encrypted_data = null;
|
||||
{
|
||||
//4.1) RSA_PAD(data, server_public_key)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue