From 051a635f6b0046f9c63a5f457b39573b366e636d Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 15 Apr 2013 07:08:28 +0000 Subject: chats enabled: may contain various bugs git-svn-id: http://svn.miranda-ng.org/main/trunk@4454 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/Skype_11.vcxproj | 1 + protocols/Skype/Skype_11.vcxproj.filters | 27 +++++++++++++++++++++------ protocols/Skype/src/skype_chat.cpp | 4 ++-- protocols/Skype/src/skype_events.cpp | 2 +- 4 files changed, 25 insertions(+), 9 deletions(-) (limited to 'protocols') diff --git a/protocols/Skype/Skype_11.vcxproj b/protocols/Skype/Skype_11.vcxproj index 2e5b50fb89..05693a6037 100644 --- a/protocols/Skype/Skype_11.vcxproj +++ b/protocols/Skype/Skype_11.vcxproj @@ -184,6 +184,7 @@ + diff --git a/protocols/Skype/Skype_11.vcxproj.filters b/protocols/Skype/Skype_11.vcxproj.filters index 520432a767..5e1e508cf7 100644 --- a/protocols/Skype/Skype_11.vcxproj.filters +++ b/protocols/Skype/Skype_11.vcxproj.filters @@ -10,6 +10,18 @@ {b14a0070-da9c-49e8-8a47-d93df5eed672} + + {7c2516e2-5857-4de1-aa39-218fe52d0363} + + + {12057a87-be97-495a-b259-12818d4676b7} + + + {47fb7bb0-5020-4279-9e3d-1b747260f167} + + + {dea402cc-aae5-43fb-be3b-18687bc615e2} + @@ -66,14 +78,14 @@ Source Files - + Source Files - - Source Files + + Source Files\aes - - Source Files + + Source Files\base64 @@ -93,7 +105,10 @@ Header Files - Header Files + Header Files\base64 + + + Header Files\aes diff --git a/protocols/Skype/src/skype_chat.cpp b/protocols/Skype/src/skype_chat.cpp index 9f4979291d..6da1496e51 100644 --- a/protocols/Skype/src/skype_chat.cpp +++ b/protocols/Skype/src/skype_chat.cpp @@ -142,11 +142,11 @@ void CSkypeProto::InitChat() { GCREGISTER gcr = {0}; gcr.cbSize = sizeof(gcr); - gcr.dwFlags = GC_TYPNOTIF | GC_CHANMGR; + gcr.dwFlags = GC_TCHAR | GC_TYPNOTIF | GC_CHANMGR; gcr.iMaxText = 0; gcr.nColors = 16; gcr.pColors = (COLORREF*)crCols; - gcr.pszModuleDispName = ::mir_u2a(this->m_tszUserName); + gcr.ptszModuleDispName = this->m_tszUserName; gcr.pszModule = this->m_szModuleName; CallServiceSync(MS_GC_REGISTER, 0, (LPARAM)&gcr); diff --git a/protocols/Skype/src/skype_events.cpp b/protocols/Skype/src/skype_events.cpp index 195b4b4696..82b24a16ba 100644 --- a/protocols/Skype/src/skype_events.cpp +++ b/protocols/Skype/src/skype_events.cpp @@ -4,7 +4,7 @@ int CSkypeProto::OnModulesLoaded(WPARAM, LPARAM) { this->InitSkype(); - //this->InitChat(); + this->InitChat(); this->InitNetLib(); this->InitCustomFolders(); -- cgit v1.2.3