diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-16 18:29:26 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-16 18:29:26 +0000 |
commit | 5c365012d42bd08fce526394372d396caa6ea04c (patch) | |
tree | 0d8d813f2abd859eaf5e5dc4513212b85230c52a /protocols/SkypeWeb/src/skype_chatrooms.cpp | |
parent | bd0be19faa5b02185b1e8d63c9c756c5b0e46308 (diff) |
SkypeWeb: Chats support part 2.3.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12868 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_chatrooms.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_chatrooms.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/protocols/SkypeWeb/src/skype_chatrooms.cpp b/protocols/SkypeWeb/src/skype_chatrooms.cpp index 88a9f45b11..ac262389f0 100644 --- a/protocols/SkypeWeb/src/skype_chatrooms.cpp +++ b/protocols/SkypeWeb/src/skype_chatrooms.cpp @@ -138,6 +138,8 @@ void CSkypeProto::StartChatRoom(MCONTACT hChatRoom, bool showWindow) CallServiceSync(MS_GC_EVENT, NULL, (LPARAM)&gceg);
}
+ PushRequest(new GetChatInfoRequest(ptrA(getStringA("registrationToken")), ptrA(mir_t2a(tszChatID)), ptrA(getStringA("Server"))), &CSkypeProto::OnGetChatInfo);
+
}
int CSkypeProto::OnGroupChatMenuHook(WPARAM, LPARAM lParam)
@@ -277,4 +279,11 @@ void CSkypeProto::OnChatEvent(JSONNODE *node) {
}
+}
+
+void CSkypeProto::OnGetChatInfo(const NETLIBHTTPREQUEST *response)
+{
+ if (response == NULL || response->pData == NULL)
+ return;
+ JSONROOT root(response->pData);
}
\ No newline at end of file |