This commit is contained in:
Daniil Gentili 2017-02-11 15:21:35 +01:00
parent 7a05342e47
commit cfcc78709e

View File

@ -291,10 +291,9 @@ trait PeerHandler
$full = $this->method_call('channels.getFullChannel', ['channel' => $partial['InputChannel']])['full_chat'];
break;
}
$partial = $this->get_info($id);
$partial['full'] = $full;
$partial['last_update'] = time();
$this->full_chats[$partial['id']] = $partial;
$this->full_chats[$partial['bot_api_id']] = $partial;
return $partial;
}