mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 09:38:57 +01:00
fixes
This commit is contained in:
parent
5e7babfa76
commit
df84276b3c
@ -70,7 +70,7 @@ class RPCErrorException extends \Exception
|
||||
case 'PEER_FLOOD': $message = 'Too many requests'; break;
|
||||
}
|
||||
if ($this->rpc === $message) {
|
||||
$res = json_decode(file_get_contents('https://rpc.pwrtelegram.xyz/?description_for='.$this->rpc));
|
||||
$res = json_decode(file_get_contents('https://rpc.pwrtelegram.xyz/?description_for='.$this->rpc), true);
|
||||
if ($res['ok']) {
|
||||
$message = $res['result'];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user