mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 07:34:41 +01:00
bugfix
This commit is contained in:
parent
7e0a47d8bb
commit
420e056ead
@ -1190,6 +1190,9 @@ class MTProto extends AsyncConstruct implements TLCallback
|
||||
if ($this->authorized === true) {
|
||||
$this->authorized = self::LOGGED_IN;
|
||||
}
|
||||
if (!isset($this->snitch)) {
|
||||
$this->snitch = new Snitch;
|
||||
}
|
||||
// Convert old array settings to new settings object
|
||||
if (\is_array($this->settings)) {
|
||||
if (($this->settings['updates']['callback'] ?? '') === 'getUpdatesUpdateHandler') {
|
||||
|
Loading…
Reference in New Issue
Block a user