diff --git a/src/danog/MadelineProto/Connection.php b/src/danog/MadelineProto/Connection.php index 8ff06e867..37b0820fb 100644 --- a/src/danog/MadelineProto/Connection.php +++ b/src/danog/MadelineProto/Connection.php @@ -220,8 +220,7 @@ class Connection extends Tools $this->write($step2); break; case 'tcp_intermediate': - $step1 = \danog\PHP\Struct::pack('write($step1); + $this->write(\danog\PHP\Struct::pack('