This commit is contained in:
Daniil Gentili 2017-05-04 16:56:10 +02:00
parent 4a7d6f2895
commit 4610ccfb85

View File

@ -211,7 +211,7 @@ trait PeerHandler
return $this->gen_all($this->chats[$id]);
}
}
if (!isset($this->settings['pwr']) || $this->settings['pwr']['requests'] === true) {
if (!isset($this->settings['pwr']['request']) || $this->settings['pwr']['requests'] === true) {
$dbres = json_decode(file_get_contents('https://id.pwrtelegram.xyz/db/getusername?id='.$id, false, stream_context_create(['http'=> [
'timeout' => 2,
],