Fallback to normal constructors when serializing secret chat TL
This commit is contained in:
parent
f516a59082
commit
725265969a
@ -71,7 +71,7 @@ class TLConstructors
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!isset($chosenid)) {
|
if (!isset($chosenid)) {
|
||||||
return false;
|
return $this->findByPredicate($predicate);
|
||||||
}
|
}
|
||||||
$constructor = $this->by_id[$chosenid];
|
$constructor = $this->by_id[$chosenid];
|
||||||
$constructor['id'] = $chosenid;
|
$constructor['id'] = $chosenid;
|
||||||
|
Loading…
Reference in New Issue
Block a user