From 0479fc77ff072b34b01f17d51daf7569a80cf54c Mon Sep 17 00:00:00 2001 From: ElzorFox Date: Tue, 24 Jan 2017 15:41:25 +0500 Subject: =?UTF-8?q?VKontakte:=20set=20low=20priority=20for=20loading=20his?= =?UTF-8?q?tory=20requests=20rework=20loading=20groups=20to=20clist=20add?= =?UTF-8?q?=20=E2=80=98Load=20last=20messages=20when=20message=20window=20?= =?UTF-8?q?open=20and=20=20local=20history=20is=20empty=E2=80=99=20option?= =?UTF-8?q?=20(default=20true)=20version=20bump?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/VKontakte/src/vk_struct.h | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'protocols/VKontakte/src/vk_struct.h') diff --git a/protocols/VKontakte/src/vk_struct.h b/protocols/VKontakte/src/vk_struct.h index 45ddd37fcf..88642cccd4 100644 --- a/protocols/VKontakte/src/vk_struct.h +++ b/protocols/VKontakte/src/vk_struct.h @@ -255,9 +255,9 @@ struct CVKInteres { wchar_t *pwszTranslate; }; -struct CVKLang { - wchar_t *szCode; - wchar_t *szDescription; +struct CVKLang { + wchar_t *szCode; + wchar_t *szDescription; }; enum MarkMsgReadOn : BYTE { markOnRead, markOnReceive, markOnReply, markOnTyping }; @@ -287,6 +287,7 @@ struct CVkCookie }; struct CVKOptions { + CMOption bLoadLastMessageOnMsgWindowsOpen; CMOption bLoadOnlyFriends; CMOption bServerDelivery; CMOption bHideChats; @@ -357,7 +358,7 @@ struct CVKOptions { CMOption pwszVKLang; CVKOptions(PROTO_INTERFACE *proto); - + __forceinline BBCSupport BBCForNews() { return (BBCSupport)(BYTE)iBBCForNews; }; __forceinline BBCSupport BBCForAttachments() { return (BBCSupport)(BYTE)iBBCForAttachments; }; @@ -366,14 +367,4 @@ 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 -- cgit v1.2.3