From 30ae2d3a07df4b403747a1176d1d29e3393c9261 Mon Sep 17 00:00:00 2001 From: Alma Armas Date: Sat, 16 Jan 2021 22:11:04 +0000 Subject: [PATCH] [VKAPI] Fix groups & added smth in Account --- VKAPI/Handlers/Account.php | 3 ++- VKAPI/Handlers/Groups.php | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VKAPI/Handlers/Account.php b/VKAPI/Handlers/Account.php index be20e3bf..aa832e29 100644 --- a/VKAPI/Handlers/Account.php +++ b/VKAPI/Handlers/Account.php @@ -69,7 +69,8 @@ final class Account extends VKAPIRequestHandler { return (object) [ "friends" => $this->getUser()->getFollowersCount(), - "notifications" => $this->getUser()->getNotificationsCount() + "notifications" => $this->getUser()->getNotificationsCount(), + "messages" => $this->getUser()->getUnreadMessagesCount() ]; // TODO: Filter diff --git a/VKAPI/Handlers/Groups.php b/VKAPI/Handlers/Groups.php index b531668f..820d304d 100644 --- a/VKAPI/Handlers/Groups.php +++ b/VKAPI/Handlers/Groups.php @@ -1,7 +1,6 @@