1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 10:34:38 +01:00

Small fix

This commit is contained in:
Daniil Gentili 2021-12-04 01:51:16 +01:00
parent 76264ce65f
commit e8a2c4754e
3 changed files with 6 additions and 2 deletions

2
docs

@ -1 +1 @@
Subproject commit dcbeb7cec2a1b230d7f7b96620917a5c9b2eba05
Subproject commit c64cf921092dd496fc3a62efeb88d6359f651862

@ -1 +1 @@
Subproject commit 68c8a4ca854c1a7ec72dfaf4803b37f0030709a1
Subproject commit 2bfc17e1d396cbf5f90aacafcf5930b03d460dc5

View File

@ -667,6 +667,10 @@ class TL
}
}
}
if ($current_argument['name'] === 'hash' && $current_argument['type'] === 'long') {
$serialized .= \pack('@8');
continue;
}
if ($current_argument['name'] === 'hash' && $current_argument['type'] === 'int') {
$serialized .= \pack('@4');
continue;