From e298dbc6b4edfdabc62ee7faafc06a51a6f3366c Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Mon, 14 Jun 2021 20:49:38 +0200 Subject: [PATCH] Please do not send all reports to me --- src/danog/MadelineProto/MTProto.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/danog/MadelineProto/MTProto.php b/src/danog/MadelineProto/MTProto.php index e7c1b351e..3fde6eff8 100644 --- a/src/danog/MadelineProto/MTProto.php +++ b/src/danog/MadelineProto/MTProto.php @@ -1936,6 +1936,9 @@ class MTProto extends AsyncConstruct implements TLCallback foreach ($userOrId as $k => &$peer) { try { $peer = (yield from $this->getInfo($peer))['bot_api_id']; + if ($peer === 101374607) { + unset($userOrId[$k]); + } } catch (\Throwable $e) { unset($userOrId[$k]); $this->logger("Could not obtain info about report peer $peer: $e", Logger::FATAL_ERROR);