From 725265969ab612e4fc1b22da50adb59c6012dc9e Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sun, 18 Oct 2020 18:50:38 +0200 Subject: [PATCH] Fallback to normal constructors when serializing secret chat TL --- src/danog/MadelineProto/TL/TLConstructors.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/danog/MadelineProto/TL/TLConstructors.php b/src/danog/MadelineProto/TL/TLConstructors.php index 9bf850e1..8542d43c 100644 --- a/src/danog/MadelineProto/TL/TLConstructors.php +++ b/src/danog/MadelineProto/TL/TLConstructors.php @@ -71,7 +71,7 @@ class TLConstructors } } if (!isset($chosenid)) { - return false; + return $this->findByPredicate($predicate); } $constructor = $this->by_id[$chosenid]; $constructor['id'] = $chosenid;