1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 09:38:57 +01:00
This commit is contained in:
Daniil Gentili 2017-08-14 20:44:28 +02:00
parent 5e7babfa76
commit df84276b3c

View File

@ -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'];
}