Skip to content

Commit 89b3dbc

Browse files
committed
Fix
1 parent f137d53 commit 89b3dbc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/MTProto.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,7 @@ public function getDbSettings(): OrmSettings
711711
*/
712712
public function __sleep(): array
713713
{
714+
$this->loginState ??= new Publisher(new LoginState($this->authorized, $this->authorized_dc));
714715
return [
715716
// Databases
716717
'referenceDatabase',

0 commit comments

Comments
 (0)