Fallback to normal constructors when serializing secret chat TL

This commit is contained in:
Daniil Gentili 2020-10-18 18:50:38 +02:00
parent f516a59082
commit 725265969a
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -71,7 +71,7 @@ class TLConstructors
}
}
if (!isset($chosenid)) {
return false;
return $this->findByPredicate($predicate);
}
$constructor = $this->by_id[$chosenid];
$constructor['id'] = $chosenid;