From 99d878d4f751244f67a05a9e04e5e6f0342cdd85 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Fri, 13 Sep 2019 13:34:30 +0200 Subject: [PATCH] bugfix --- src/danog/MadelineProto/MTProto/TempAuthKey.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }