summaryrefslogtreecommitdiff
path: root/protocols/VKontakte
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-16 17:29:52 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-16 17:29:52 +0000
commit1e3f0921f6d549ed9da6de59466fe5d7aeedfdc9 (patch)
tree10363b72f8387830a4df43107a21aedbab827bf0 /protocols/VKontakte
parenta516fc9e57f37edf4a6c7615b173991aeb97d7cd (diff)
Away support removed from VK
git-svn-id: http://svn.miranda-ng.org/main/trunk@6505 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte')
-rw-r--r--protocols/VKontakte/src/vk_thread.cpp6
1 files changed, 2 insertions, 4 deletions
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: