From 1f46c15ee7098125e34f5bc53a13c284211ef645 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 Dec 2020 15:56:53 +0300 Subject: SkypeWeb: more or less working group chats --- protocols/SkypeWeb/src/skype_proto.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'protocols/SkypeWeb/src/skype_proto.h') diff --git a/protocols/SkypeWeb/src/skype_proto.h b/protocols/SkypeWeb/src/skype_proto.h index 8264f4dc50..da6f66e17c 100644 --- a/protocols/SkypeWeb/src/skype_proto.h +++ b/protocols/SkypeWeb/src/skype_proto.h @@ -197,7 +197,6 @@ private: void Execute(AsyncHttpRequest *request); void PushRequest(AsyncHttpRequest *request); - void SendRequest(AsyncHttpRequest *request); // menus static HGENMENU ContactMenuItems[CMI_MAX]; @@ -275,12 +274,13 @@ private: SESSION_INFO* StartChatRoom(const wchar_t *tid, const wchar_t *tname); void OnChatEvent(const JSONNode &node); - void OnSendChatMessage(MCONTACT hContact, const wchar_t *tszMessage); - void AddMessageToChat(MCONTACT hContact, const wchar_t *from, const wchar_t *content, bool isAction, int emoteOffset, time_t timestamp, bool isLoading = false); - void AddChatContact(MCONTACT hContact, const wchar_t *id, const wchar_t *role, bool isChange = false); - void RemoveChatContact(MCONTACT hContact, const wchar_t *id, bool isKick = false, const wchar_t *initiator = L""); wchar_t* GetChatContactNick(MCONTACT hContact, const wchar_t *id, const wchar_t *name = nullptr); + void AddMessageToChat(SESSION_INFO *si, const wchar_t *from, const wchar_t *content, bool isAction, int emoteOffset, time_t timestamp, bool isLoading = false); + void AddChatContact(SESSION_INFO *si, const wchar_t *id, const wchar_t *role, bool isChange = false); + void RemoveChatContact(SESSION_INFO *si, const wchar_t *id, bool isKick = false, const wchar_t *initiator = L""); + void SendChatMessage(SESSION_INFO *si, const wchar_t *tszMessage); + void SetChatStatus(MCONTACT hContact, int iStatus); // polling -- cgit v1.2.3