Small bugfix

This commit is contained in:
Daniil Gentili 2019-06-22 18:39:40 +02:00
parent 5468858298
commit 74ab5d2ff5
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ class EventHandler extends \danog\MadelineProto\EventHandler
}
}
}
$settings = ['logger' => ['logger_level' => 5], 'connection_settings' => ['all' => ['protocol' => 'tcp_abridged', 'proxy' => SocksProxy::getName(), 'proxy_extra' => ['address' => '1.pwrtelegram.xyz', 'port' => 1080]]]];
$settings = ['logger' => ['logger_level' => 5]];
$MadelineProto = new \danog\MadelineProto\API('bot.madeline', $settings);
$MadelineProto->async(true);

View File

@ -230,7 +230,7 @@ class FeedLoop extends ResumableSignalLoop
if ($channelId && !yield $this->API->peer_isset_async($this->API->to_supergroup($channelId))) {
$this->API->logger->logger('Skipping update, I do not have the channel id '.$channelId, \danog\MadelineProto\Logger::ERROR);
return;
return false;
}
break;
}