diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2013-06-14 18:26:29 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2013-06-14 18:26:29 +0000 |
commit | 0043f79996b6bf582194fd45d42d86ca2816292f (patch) | |
tree | 083bb550630bc245210e8609e96e2bdec4a4bfc9 /protocols/Skype/src/skype_contacts.cpp | |
parent | 19130f846c811022b5a765162f4a146f1362727d (diff) |
Skype:
- fixed chat creating/removing
- fixed chat inviting
- fixed #367
git-svn-id: http://svn.miranda-ng.org/main/trunk@4945 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 6b60eae031..9b5f1e0cd2 100644 --- a/protocols/Skype/src/skype_contacts.cpp +++ b/protocols/Skype/src/skype_contacts.cpp @@ -177,9 +177,9 @@ HANDLE CSkypeProto::GetContactBySid(const wchar_t *sid) for (hContact = ::db_find_first(this->m_szModuleName); hContact; hContact = ::db_find_next(hContact, this->m_szModuleName))
{
- if ( !this->IsChatRoom(hContact))
+ //if ( !this->IsChatRoom(hContact))
{
- ptrW contactSid( ::db_get_wsa(hContact, this->m_szModuleName, SKYPE_SETTINGS_LOGIN));
+ ptrW contactSid( ::db_get_wsa(hContact, this->m_szModuleName, SKYPE_SETTINGS_SID));
if (::lstrcmpi(contactSid, sid) == 0)
break;
}
@@ -246,7 +246,7 @@ HANDLE CSkypeProto::AddContact(CContact::Ref contact) ::db_unset(hContact, "CList", "NotOnList");
}
- ::db_set_ws(hContact, this->m_szModuleName, SKYPE_SETTINGS_LOGIN, sid);
+ ::db_set_ws(hContact, this->m_szModuleName, SKYPE_SETTINGS_SID, sid);
::db_set_ws(hContact, this->m_szModuleName, "Nick", nick);
DBVARIANT dbv;
|