diff --git a/src/danog/MadelineProto/MTProtoTools/PeerHandler.php b/src/danog/MadelineProto/MTProtoTools/PeerHandler.php index e9156350..592572e4 100644 --- a/src/danog/MadelineProto/MTProtoTools/PeerHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/PeerHandler.php @@ -543,6 +543,7 @@ trait PeerHandler } public function gen_participants_hash($ids) { $hash = 0; + if (\danog\MadelineProto\Logger::$bigint) return $hash; foreach ($ids as $userID) { $hash = (($hash * 20261) + 0x80000000 + $userID) % 0x80000000; }