diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-04-15 07:08:28 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-04-15 07:08:28 +0000 |
commit | 051a635f6b0046f9c63a5f457b39573b366e636d (patch) | |
tree | d8413127b3f92d8041d3a08a70f53b82b6b64e73 /protocols/Skype/src | |
parent | 15d5272cf14ce1cf3953950ee943a4f2a0cc378f (diff) |
chats enabled:
may contain various bugs
git-svn-id: http://svn.miranda-ng.org/main/trunk@4454 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src')
-rw-r--r-- | protocols/Skype/src/skype_chat.cpp | 4 | ||||
-rw-r--r-- | protocols/Skype/src/skype_events.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
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();
|