mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 06:34:41 +01:00
pony
This commit is contained in:
parent
5a8e490e6d
commit
5a22fd0665
@ -220,8 +220,7 @@ class Connection extends Tools
|
||||
$this->write($step2);
|
||||
break;
|
||||
case 'tcp_intermediate':
|
||||
$step1 = \danog\PHP\Struct::pack('<I', strlen($message)).$message;
|
||||
$this->write($step1);
|
||||
$this->write(\danog\PHP\Struct::pack('<I', strlen($message)).$message);
|
||||
break;
|
||||
case 'tcp_abridged':
|
||||
$len = strlen($message) / 4;
|
||||
|
Loading…
Reference in New Issue
Block a user