summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_struct.h
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2017-01-23 13:42:53 +0500
committerElzorFox <elzorfox@ya.ru>2017-01-23 13:42:53 +0500
commit705649686832a6e12d7eea59e20528a7e61abe14 (patch)
treee093abc6ffe2ca6ebe822b6f2fffac12ea3bef87 /protocols/VKontakte/src/vk_struct.h
parentf7bbe11df6dc63ca32e7599a4bd64ea95990065d (diff)
VKontakte:
rename option ‘Automatically wipe local contacts missing in your friend list’ ->’ Load only friends to local contact list’ rework loading clist logic (now if option ‘ Load only friends to local contact list’ is true, non-friends contact are not created on loading dialogs and are not cleaned automatically on loading friendlist) version bump
Diffstat (limited to 'protocols/VKontakte/src/vk_struct.h')
-rw-r--r--protocols/VKontakte/src/vk_struct.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_struct.h b/protocols/VKontakte/src/vk_struct.h
index 9e04c20d98..45ddd37fcf 100644
--- a/protocols/VKontakte/src/vk_struct.h
+++ b/protocols/VKontakte/src/vk_struct.h
@@ -287,7 +287,7 @@ struct CVkCookie
};
struct CVKOptions {
- CMOption<BYTE> bAutoClean;
+ CMOption<BYTE> bLoadOnlyFriends;
CMOption<BYTE> bServerDelivery;
CMOption<BYTE> bHideChats;
CMOption<BYTE> bMesAsUnread;
@@ -363,8 +363,17 @@ struct CVKOptions {
};
-
struct CVKDeactivateEvent {
wchar_t *wszType;
char *szDescription;
+};
+
+struct CVKUsersAreFriend {
+ CVKUsersAreFriend(int _iUserId, int _iStatus) :
+ iUserId(_iUserId),
+ iStatus(_iStatus)
+ {}
+
+ int iUserId;
+ int iStatus;
}; \ No newline at end of file