From df2b29b854fedab0ea8fabf55e26a028f25584d3 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Thu, 16 Apr 2015 12:32:43 +0000 Subject: SkypeWeb: Chats support part 2. git-svn-id: http://svn.miranda-ng.org/main/trunk@12858 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/SkypeWeb_10.vcxproj | 1 + protocols/SkypeWeb/SkypeWeb_10.vcxproj.filters | 3 +++ protocols/SkypeWeb/src/common.h | 1 + protocols/SkypeWeb/src/skype_chatrooms.cpp | 9 ++++++++- 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/protocols/SkypeWeb/SkypeWeb_10.vcxproj b/protocols/SkypeWeb/SkypeWeb_10.vcxproj index 4ae49d6b50..174b7791a6 100644 --- a/protocols/SkypeWeb/SkypeWeb_10.vcxproj +++ b/protocols/SkypeWeb/SkypeWeb_10.vcxproj @@ -202,6 +202,7 @@ + diff --git a/protocols/SkypeWeb/SkypeWeb_10.vcxproj.filters b/protocols/SkypeWeb/SkypeWeb_10.vcxproj.filters index 323e29558b..d80d7dd5c6 100644 --- a/protocols/SkypeWeb/SkypeWeb_10.vcxproj.filters +++ b/protocols/SkypeWeb/SkypeWeb_10.vcxproj.filters @@ -87,6 +87,9 @@ Header Files\requests + + Header Files\requests + diff --git a/protocols/SkypeWeb/src/common.h b/protocols/SkypeWeb/src/common.h index 96bf0fa36a..b2f54bb177 100644 --- a/protocols/SkypeWeb/src/common.h +++ b/protocols/SkypeWeb/src/common.h @@ -80,6 +80,7 @@ struct CSkypeProto; #include "requests\poll.h" #include "requests\avatars.h" #include "requests\search.h" +#include "requests\chatrooms.h" #include "request_queue.h" #include "skype_proto.h" diff --git a/protocols/SkypeWeb/src/skype_chatrooms.cpp b/protocols/SkypeWeb/src/skype_chatrooms.cpp index c97d1e93de..c0e8b94a03 100644 --- a/protocols/SkypeWeb/src/skype_chatrooms.cpp +++ b/protocols/SkypeWeb/src/skype_chatrooms.cpp @@ -187,7 +187,14 @@ void CSkypeProto::OnChatEvent(JSONNODE *node) } else if (!mir_strcmpi(messageType, "ThreadActivity/AddMember")) { - + /*GCDEST gcd = { m_szModuleName, , GC_EVENT_JOIN }; + GCEVENT gce = { sizeof(GCEVENT), &gcd }; + gce.bIsMe = uid == m_myUserId; + gce.ptszUID = tszId; + gce.ptszNick = tszNick; + gce.ptszStatus = TranslateTS(sttStatuses[uid == cc->m_admin_id]); + gce.dwItemData = (INT_PTR)cu; + CallServiceSync(MS_GC_EVENT, 0, (LPARAM)&gce);*/ } else if (!mir_strcmpi(messageType, "ThreadActivity/DeleteMember")) { -- cgit v1.2.3