From ccaae41dcd761e91991b2e1af882e5fd5ca59b0b Mon Sep 17 00:00:00 2001 From: El psy congroo desu <94683384+el-psy-congroo-desu@users.noreply.github.com> Date: Sat, 13 Aug 2022 07:41:59 +0500 Subject: [PATCH] VKAPI: fix account.setOnline (#649) --- VKAPI/Handlers/Account.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/VKAPI/Handlers/Account.php b/VKAPI/Handlers/Account.php index 8e7fdcb9..6f4ad0e6 100644 --- a/VKAPI/Handlers/Account.php +++ b/VKAPI/Handlers/Account.php @@ -45,7 +45,8 @@ final class Account extends VKAPIRequestHandler $this->requireUser(); $this->getUser()->setOnline(time()); - + $this->getUser()->save(); + return 1; }