mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 07:18:57 +01:00
Small fix
This commit is contained in:
parent
4d1f33a551
commit
8097b01190
@ -315,6 +315,7 @@ trait Login
|
||||
if ($this->authorized === MTProto::LOGGED_IN) {
|
||||
throw new Exception(Lang::$current_lang['already_loggedIn']);
|
||||
}
|
||||
$this->authorized_dc = $this->datacenter->currentDatacenter;
|
||||
$this->qrLoginDeferred?->cancel();
|
||||
$this->qrLoginDeferred = null;
|
||||
$this->authorization = $authorization;
|
||||
|
Loading…
Reference in New Issue
Block a user