1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 13:54:39 +01:00

Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-04-22 15:59:05 +00:00 committed by StyleCI Bot
parent 20b60ffde4
commit dbe526f2e5

View File

@ -518,7 +518,6 @@ trait PeerHandler
public function resolve_username($username)
{
\Rollbar\Rollbar::log($username);
$res = $this->method_call('contacts.resolveUsername', ['username' => str_replace('@', '', $username)], ['datacenter' => $this->datacenter->curdc]);
if ($res['_'] === 'contacts.resolvedPeer') {