summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.h
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2023-12-07 13:51:23 +0500
committerElzorFox <elzorfox@ya.ru>2023-12-07 13:51:23 +0500
commit70ed7a9490a48464aa6cf4dd65f06deb50dbfd56 (patch)
tree0b4bc3227f61bde2cce44a7d7884f9f182840013 /protocols/VKontakte/src/vk_proto.h
parentc5b2cbe38b0f23005c8bab0ed9eaab7701f8166a (diff)
VKontakte: fix #4022
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.h')
-rw-r--r--protocols/VKontakte/src/vk_proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h
index f0dd5cab62..d71bf32576 100644
--- a/protocols/VKontakte/src/vk_proto.h
+++ b/protocols/VKontakte/src/vk_proto.h
@@ -143,6 +143,7 @@ struct CVkProto : public PROTO<CVkProto>
void WriteVKUserID(MCONTACT hContact, VKUserID_t iUserId);
int ForwardMsg(MCONTACT hContact, std::vector<MEVENT> &vForvardEvents, const char* szMsg);
+ uint8_t GetContactType(MCONTACT hContact);
private:
@@ -360,7 +361,6 @@ private:
void SetAllContactStatuses(int iStatus);
MCONTACT FindUser(VKUserID_t iUserId, bool bCreate = false);
MCONTACT FindChat(VKUserID_t iUserId);
- bool IsGroupUser(MCONTACT hContact);
JSONNode& CheckJsonResponse(AsyncHttpRequest *pReq, NETLIBHTTPREQUEST *reply, JSONNode &root);
bool CheckJsonResult(AsyncHttpRequest *pReq, const JSONNode &Node);
void OnReceiveSmth(NETLIBHTTPREQUEST*, AsyncHttpRequest*);
@@ -380,6 +380,7 @@ private:
void SetSrmmReadStatus(MCONTACT hContact);
void MarkDialogAsRead(MCONTACT hContact);
void CheckUpdate();
+ bool IsGroupUser(MCONTACT hContact);
char* GetStickerId(const char *szMsg, int& iStickerid);
CMStringA GetAttachmentsFromMessage(const char * szMsg);
CMStringW SpanVKNotificationType(CMStringW& wszType, VKObjType& vkFeedback, VKObjType& vkParent);