Small bugfix
This commit is contained in:
parent
5468858298
commit
74ab5d2ff5
2
bot.php
2
bot.php
@ -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);
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user