summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.h
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2015-06-09 10:53:31 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2015-06-09 10:53:31 +0000
commitbc5b5ca600ad9364aa50de6afe2bf92dc63e1420 (patch)
tree26c00a736566af3c2817647beb480e58028f3a49 /protocols/VKontakte/src/vk_proto.h
parent173995b62f1440f7c9bfd7a30371094a22e6fb9d (diff)
VKontakte:
add MessageState support update VK API to 5.34 add basic action support for muc fix Nick for left chat user version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@14071 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.h')
-rw-r--r--protocols/VKontakte/src/vk_proto.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h
index cd034b1bc9..615026ebaa 100644
--- a/protocols/VKontakte/src/vk_proto.h
+++ b/protocols/VKontakte/src/vk_proto.h
@@ -116,11 +116,12 @@ struct CVkChatMessage : public MZeroedObject
m_mid(_id),
m_uid(0),
m_date(0),
- m_bHistory(false)
+ m_bHistory(false),
+ m_bIsAction(false)
{}
int m_mid, m_uid, m_date;
- bool m_bHistory;
+ bool m_bHistory, m_bIsAction;
ptrT m_tszBody;
};
@@ -639,7 +640,7 @@ private:
OBJLIST<CVkChatInfo> m_chats;
CVkChatInfo* AppendChat(int id, const JSONNode &jnNode);
void AppendChatMessage(int id, const JSONNode &jnMsg, bool bIsHistory);
- void AppendChatMessage(CVkChatInfo *cc, int uid, int msgTime, LPCTSTR ptszBody, bool bIsHistory);
+ void AppendChatMessage(CVkChatInfo *cc, int uid, int msgTime, LPCTSTR ptszBody, bool bIsHistory, bool bIsAction = false);
void RetrieveChatInfo(CVkChatInfo*);
void OnReceiveChatInfo(NETLIBHTTPREQUEST*, AsyncHttpRequest*);
void OnSendChatMsg(NETLIBHTTPREQUEST*, AsyncHttpRequest*);