From 1e3f0921f6d549ed9da6de59466fe5d7aeedfdc9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 16 Oct 2013 17:29:52 +0000 Subject: Away support removed from VK git-svn-id: http://svn.miranda-ng.org/main/trunk@6505 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_thread.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'protocols') diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index b0fb61f257..a81eba2dd3 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -461,10 +461,8 @@ void CVkProto::PollUpdates(JSONNODE *pUpdates) case VKPOLL_USR_OFFLINE: uid = -json_as_int( json_at(pArray, 1)); - if ((hContact = FindUser(uid)) != NULL) { - int flags = json_as_int( json_at(pArray, 2)); - setWord(hContact, "Status", (flags == 0) ? ID_STATUS_OFFLINE : ID_STATUS_AWAY); - } + if ((hContact = FindUser(uid)) != NULL) + setWord(hContact, "Status", ID_STATUS_OFFLINE); break; case VKPOLL_USR_UTN: -- cgit v1.2.3