diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-19 09:30:15 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-19 09:30:15 +0000 |
commit | 819617105e18904bf8094d786bf0541b8477474d (patch) | |
tree | 6120a6d19d4dcf2cba27e3779b38f026f2b6ae8f /protocols/SkypeWeb/src | |
parent | dfd240cf80509c4b33e44482e637b6500f4e563a (diff) |
SkypeWeb: Unneeded code removed.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12930 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src')
-rw-r--r-- | protocols/SkypeWeb/src/skype_chatrooms.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/protocols/SkypeWeb/src/skype_chatrooms.cpp b/protocols/SkypeWeb/src/skype_chatrooms.cpp index 90e34e3b8b..762283b415 100644 --- a/protocols/SkypeWeb/src/skype_chatrooms.cpp +++ b/protocols/SkypeWeb/src/skype_chatrooms.cpp @@ -109,39 +109,6 @@ int CSkypeProto::OnGroupChatEventHook(WPARAM, LPARAM lParam) return 0;
}
-/*void CSkypeProto::StartChatRoom(MCONTACT hChatRoom, bool showWindow)
-{
- ptrT tszChatID(getTStringA(hChatRoom, "ChatID"));
- ptrT tszNick(getTStringA(hChatRoom, "Nick"));
- if (tszChatID == NULL)
- return;
-
- // start chat session
- GCSESSION gcw = { 0 };
- gcw.cbSize = sizeof(gcw);
- gcw.iType = GCW_CHATROOM;
- gcw.pszModule = m_szModuleName;
- gcw.ptszName = tszNick;
- gcw.ptszID = tszChatID;
- gcw.dwItemData = (DWORD)tszChatID;
- CallServiceSync(MS_GC_NEWSESSION, 0, (LPARAM)&gcw);
-
- GCDEST gcd = { m_szModuleName, tszChatID, GC_EVENT_CONTROL };
- GCEVENT gce = { sizeof(gce), &gcd };
- CallServiceSync(MS_GC_EVENT, showWindow ? SESSION_INITDONE : WINDOW_HIDDEN, (LPARAM)&gce);
- CallServiceSync(MS_GC_EVENT, SESSION_ONLINE, (LPARAM)&gce);
-
- GCDEST gcdg = { m_szModuleName, tszChatID, GC_EVENT_ADDGROUP };
- GCEVENT gceg = { sizeof(gce), &gcdg };
- for (int i = SIZEOF(sttStatuses)-1; i >= 0; i--) {
- gceg.ptszStatus = TranslateTS(sttStatuses[i]);
- CallServiceSync(MS_GC_EVENT, NULL, (LPARAM)&gceg);
- }
-
- SendRequest(new GetChatInfoRequest(RegToken, ptrA(mir_t2a(tszChatID)), Server), &CSkypeProto::OnGetChatInfo);
-
-}*/
-
void CSkypeProto::StartChatRoom(const TCHAR *tid, const TCHAR *tname) { // Create the group chat session |