Fixed+++++++

This commit is contained in:
Daniil Gentili 2017-05-02 20:19:45 +02:00 committed by GitHub
parent 4b3c010c4c
commit ac9e0f0614

View File

@ -152,9 +152,11 @@ trait UpdateHandler
} catch (\danog\MadelineProto\RPCErrorException $e) { } catch (\danog\MadelineProto\RPCErrorException $e) {
if ($e->getMessage() === "You haven't joined this channel/supergroup") { if ($e->getMessage() === "You haven't joined this channel/supergroup") {
return false; return false;
} else {
throw $e;
} }
if ($e->rpc === "PERSISTENT_TIMESTAMP_INVALID") {
return false;
}
throw $e;
} }
\danog\MadelineProto\Logger::log(['Got '.$difference['_']], \danog\MadelineProto\Logger::VERBOSE); \danog\MadelineProto\Logger::log(['Got '.$difference['_']], \danog\MadelineProto\Logger::VERBOSE);
$this->get_channel_state($channel)['sync_loading'] = false; $this->get_channel_state($channel)['sync_loading'] = false;