diff --git a/build_docs.php b/build_docs.php index e199d7bb..02dd9690 100755 --- a/build_docs.php +++ b/build_docs.php @@ -481,7 +481,6 @@ description: A 512 bit signed integer A 512 bit signed integer represented in little-endian base256 (`string`) format.'); - file_put_contents('types/double.md', '--- title: double description: A double precision floating point number @@ -545,5 +544,4 @@ description: Represents a boolean. Represents a boolean.'); - \danog\MadelineProto\Logger::log('Done!'); diff --git a/src/danog/MadelineProto/MTProtoTools/UpdateHandler.php b/src/danog/MadelineProto/MTProtoTools/UpdateHandler.php index f61df15d..fe53e9d5 100644 --- a/src/danog/MadelineProto/MTProtoTools/UpdateHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/UpdateHandler.php @@ -189,6 +189,7 @@ trait UpdateHandler if (!isset($this->channels_state[$channel_id])) { if (!isset($update['pts'])) { \danog\MadelineProto\Logger::log('I do not have the channel in the states'); + return false; } }