This commit is contained in:
Daniil Gentili 2017-01-27 23:26:55 +01:00
parent c8959a0837
commit a20149b998

View File

@ -200,7 +200,7 @@ trait PeerHandler
return $this->gen_all($this->chats[$id]);
}
}
$dbres = file_get_contents('https://id.pwrtelegram.xyz/db/getusername?id='.$id);
$dbres = json_decode(file_get_contents('https://id.pwrtelegram.xyz/db/getusername?id='.$id), true);
if ($dbres['ok']) {
return $this->gen_all('@'.$dbres['username']);
}