diff --git a/src/danog/MadelineProto/MTProto/TempAuthKey.php b/src/danog/MadelineProto/MTProto/TempAuthKey.php index 97631e5d..e0e1a5a0 100644 --- a/src/danog/MadelineProto/MTProto/TempAuthKey.php +++ b/src/danog/MadelineProto/MTProto/TempAuthKey.php @@ -192,7 +192,7 @@ class TempAuthKey extends AuthKey implements JsonSerializable * * @return array */ - public function __sleep() + public function __wakeup() { $this->inited = (bool) $this->inited; }