MyTelegram wrapper improvements

This commit is contained in:
Daniil Gentili 2019-09-17 23:54:42 +02:00
parent 9e0fdae65f
commit 1f33dc9e33
2 changed files with 2 additions and 1 deletions

View File

@ -192,7 +192,7 @@ class DataCenter
*
* @return void
*/
public function __magic_construct(MTProto $API, array $dclist, array $settings, bool $reconnectAll = true, CookieJar $jar = null)
public function __magic_construct($API, array $dclist, array $settings, bool $reconnectAll = true, CookieJar $jar = null)
{
$this->API = $API;

View File

@ -66,6 +66,7 @@ class MyTelegramOrgWrapper
},
[],
$this->settings['connection_settings'],
true,
$this->jar
);
}