diff options
| author | levlam <levlam@telegram.org> | 2026-05-14 17:39:19 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2026-05-14 17:39:19 +0300 |
| commit | fa4289252d38ed32f48e94719af9fc598fc16e73 (patch) | |
| tree | 6aa5a439279880c38a7bd1af2ba6d31956d986b8 /td/telegram/NotificationManager.cpp | |
| parent | c3819f548eb3bac7df2a39f7329746dfd0f37a88 (diff) | |
Fix handling of the error 404 with HTTP transport.
Diffstat (limited to 'td/telegram/NotificationManager.cpp')
| -rw-r--r-- | td/telegram/NotificationManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/td/telegram/NotificationManager.cpp b/td/telegram/NotificationManager.cpp index 12581abe9..5e7e168c1 100644 --- a/td/telegram/NotificationManager.cpp +++ b/td/telegram/NotificationManager.cpp @@ -3997,7 +3997,7 @@ Result<string> NotificationManager::decrypt_push_payload(int64 encryption_key_id packet_info.is_creator = true; packet_info.check_mod4 = false; - TRY_RESULT(result, mtproto::Transport::read(payload, auth_key, &packet_info)); + TRY_RESULT(result, mtproto::Transport::read(payload, 0, auth_key, &packet_info)); if (result.type() != mtproto::Transport::ReadResult::Packet) { return Status::Error(400, "Wrong packet type"); } |
