Bugfixes
This commit is contained in:
parent
d4405566ea
commit
aa04b5e8af
|
@ -543,6 +543,7 @@ trait PeerHandler
|
||||||
}
|
}
|
||||||
public function gen_participants_hash($ids) {
|
public function gen_participants_hash($ids) {
|
||||||
$hash = 0;
|
$hash = 0;
|
||||||
|
if (\danog\MadelineProto\Logger::$bigint) return $hash;
|
||||||
foreach ($ids as $userID) {
|
foreach ($ids as $userID) {
|
||||||
$hash = (($hash * 20261) + 0x80000000 + $userID) % 0x80000000;
|
$hash = (($hash * 20261) + 0x80000000 + $userID) % 0x80000000;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user