diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-16 12:32:43 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-16 12:32:43 +0000 |
commit | df2b29b854fedab0ea8fabf55e26a028f25584d3 (patch) | |
tree | c42f8777fefc9be467e34ce1fa36ce89abe3fd36 /protocols | |
parent | 09cbe83c2843be82c8b2ce50b2c67cda0c4dc38d (diff) |
SkypeWeb: Chats support part 2.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12858 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/SkypeWeb/SkypeWeb_10.vcxproj | 1 | ||||
-rw-r--r-- | protocols/SkypeWeb/SkypeWeb_10.vcxproj.filters | 3 | ||||
-rw-r--r-- | protocols/SkypeWeb/src/common.h | 1 | ||||
-rw-r--r-- | protocols/SkypeWeb/src/skype_chatrooms.cpp | 9 |
4 files changed, 13 insertions, 1 deletions
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 @@ <ClInclude Include="src\http_request.h" />
<ClInclude Include="src\requests\avatars.h" />
<ClInclude Include="src\requests\capabilities.h" />
+ <ClInclude Include="src\requests\chatrooms.h" />
<ClInclude Include="src\requests\contacts.h" />
<ClInclude Include="src\requests\endpoint.h" />
<ClInclude Include="src\requests\history.h" />
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 @@ <ClInclude Include="src\requests\history.h">
<Filter>Header Files\requests</Filter>
</ClInclude>
+ <ClInclude Include="src\requests\chatrooms.h">
+ <Filter>Header Files\requests</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="src\stdafx.cpp">
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"))
{
|