diff --git a/src/danog/MadelineProto/MTProto.php b/src/danog/MadelineProto/MTProto.php index 34e3efad..e52b55c9 100644 --- a/src/danog/MadelineProto/MTProto.php +++ b/src/danog/MadelineProto/MTProto.php @@ -667,6 +667,7 @@ class MTProto } catch (RPCErrorException $e) { return false; } + return $this->authorization['user']; }