summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_pollserver.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2016-04-07 04:40:53 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2016-04-07 04:40:53 +0000
commit6298b38266b6744d83c1bfb1801cce1b0986a4cf (patch)
treea70fd6ef5bea116c24c96d81d34bec1a07b7b1c9 /protocols/VKontakte/src/vk_pollserver.cpp
parentc48ee58a97b7d9548f94071fa9aa7d152e253cd6 (diff)
VKontakte:
option flags move to separate class account manager dialog -> core ui option page dialogs -> core ui move declarations to private section remove unneeded (after rev. 16596) attention from option dialog code cleanup version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@16600 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_pollserver.cpp')
-rw-r--r--protocols/VKontakte/src/vk_pollserver.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/VKontakte/src/vk_pollserver.cpp b/protocols/VKontakte/src/vk_pollserver.cpp
index 1c28865d9f..143b1e7191 100644
--- a/protocols/VKontakte/src/vk_pollserver.cpp
+++ b/protocols/VKontakte/src/vk_pollserver.cpp
@@ -92,9 +92,9 @@ void CVkProto::PollUpdates(const JSONNode &jnUpdates)
}
else
SetSrmmReadStatus(hContact);
- if (m_bUserForceOnlineOnActivity)
+ if (m_vkOptions.bUserForceOnlineOnActivity)
SetInvisible(hContact);
- if (m_bSyncReadMessageStatusFromServer)
+ if (m_vkOptions.bSyncReadMessageStatusFromServer)
MarkDialogAsRead(hContact);
}
break;
@@ -123,14 +123,14 @@ void CVkProto::PollUpdates(const JSONNode &jnUpdates)
}
else
SetSrmmReadStatus(hContact);
- if (m_bUserForceOnlineOnActivity)
+ if (m_vkOptions.bUserForceOnlineOnActivity)
SetInvisible(hContact);
}
break;
case VKPOLL_READ_ALL_IN:
uid = jnChild[1].as_int();
hContact = FindUser(uid);
- if (hContact != NULL && m_bSyncReadMessageStatusFromServer)
+ if (hContact != NULL && m_vkOptions.bSyncReadMessageStatusFromServer)
MarkDialogAsRead(hContact);
break;
@@ -157,7 +157,7 @@ void CVkProto::PollUpdates(const JSONNode &jnUpdates)
hContact = FindUser(uid);
if (hContact != NULL) {
ForkThread(&CVkProto::ContactTypingThread, (void *)hContact);
- if (m_bUserForceOnlineOnActivity)
+ if (m_vkOptions.bUserForceOnlineOnActivity)
SetInvisible(hContact);
}
break;