From e479bf6bf3be70fe604268f199a7ff2994aa578c Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Fri, 13 Sep 2019 21:57:01 +0200 Subject: [PATCH] Try ignoring missing min info --- src/danog/MadelineProto/MTProtoTools/MinDatabase.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/danog/MadelineProto/MTProtoTools/MinDatabase.php b/src/danog/MadelineProto/MTProtoTools/MinDatabase.php index 7b98a98b..dada9a61 100644 --- a/src/danog/MadelineProto/MTProtoTools/MinDatabase.php +++ b/src/danog/MadelineProto/MTProtoTools/MinDatabase.php @@ -242,7 +242,8 @@ class MinDatabase implements TLCallback $new['_'] .= 'FromMessage'; $new['peer'] = (yield $this->API->get_info_async($new['peer']))['InputPeer']; if ($new['peer']['min']) { - throw new Exception('Peer not found in internal min peer database'); + $this->API->logger->logger("Don't have origin peer subinfo with min peer $id, this may fail"); + return $object; } return $new; } else {