mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-26 19:24:42 +01:00
Test igbinary serialization
This commit is contained in:
parent
36cb32dd4d
commit
28692f9a78
@ -33,7 +33,10 @@ $map = [
|
||||
];
|
||||
|
||||
$settings = $map[$argv[1]];
|
||||
|
||||
if (!$settings instanceof Memory) {
|
||||
$settings->setSerializer($argv[2] === 'igbinary' ? SerializerType::IGBINARY : SerializerType::SERIALIZE);
|
||||
}
|
||||
|
||||
$MadelineProto->updateSettings($settings);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user