diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2012-12-18 20:03:40 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2012-12-18 20:03:40 +0000 |
commit | a76ced5d4ff852dcbe7a96824ca1bb6dc219a1fd (patch) | |
tree | b8f48fe0e7aed33c9a7cf48800bd351f4cf3c50b /protocols/Skype/src/skype_contacts.cpp | |
parent | b218fc95603571df3e9a6181d7e0de7f37e3bcc4 (diff) |
- first approach of group chat support
git-svn-id: http://svn.miranda-ng.org/main/trunk@2764 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_contacts.cpp')
-rw-r--r-- | protocols/Skype/src/skype_contacts.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Skype/src/skype_contacts.cpp b/protocols/Skype/src/skype_contacts.cpp index e92fc135b7..eae999ef92 100644 --- a/protocols/Skype/src/skype_contacts.cpp +++ b/protocols/Skype/src/skype_contacts.cpp @@ -534,7 +534,7 @@ HANDLE CSkypeProto::GetContactBySid(const char *sid) HANDLE hContact = db_find_first();
while (hContact)
{
- if (this->IsProtoContact(hContact))
+ if (this->IsProtoContact(hContact) && !this->IsChatRoom(hContact))
{
if (::strcmp(sid, ::DBGetString(hContact, this->m_szModuleName, "sid")) == 0)
return hContact;
@@ -693,10 +693,10 @@ void __cdecl CSkypeProto::LoadContactList(void*) char *sid = ::mir_strdup((const char *)data);
contact->GetPropDisplayname(data);
- char *nick = ::mir_strdup((const char *)data);
+ char *nick = ::mir_utf8decodeA((const char *)data);
contact->GetPropFullname(data);
- char *name = ::mir_strdup((const char *)data);
+ char *name = ::mir_utf8decodeA((const char *)data);
DWORD flags = 0;
CContact::AVAILABILITY availability;
|