summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_chat.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-04-28 19:56:11 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-04-28 19:56:11 +0000
commit1137908b0395c613b2827428fd846242eaddb999 (patch)
tree3b7d70ea4f780a23000ac8a3d4f46138871decbb /protocols/Skype/src/skype_chat.cpp
parentf769a165fd3bb4f68d8cdee160ebd8f003fcc0e1 (diff)
- fixed empty "<unknown contact>" chat rooms
- fixed crash on profile update git-svn-id: http://svn.miranda-ng.org/main/trunk@4562 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_chat.cpp')
-rw-r--r--protocols/Skype/src/skype_chat.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/protocols/Skype/src/skype_chat.cpp b/protocols/Skype/src/skype_chat.cpp
index 204b091e8b..f85ec85f36 100644
--- a/protocols/Skype/src/skype_chat.cpp
+++ b/protocols/Skype/src/skype_chat.cpp
@@ -78,14 +78,7 @@ HANDLE CSkypeProto::AddChatRoom(CConversation::Ref conversation)
void CSkypeProto::ChatValidateContact(HANDLE hItem, HWND hwndList, const wchar_t *contacts)
{
if ( !this->IsProtoContact(hItem) || this->IsChatRoom(hItem))
- {
- /*HANDLE hContact = (HANDLE)::SendMessage(hwndList, CLM_GETNEXTITEM, CLGN_NEXT, (LPARAM)hItem);
- char *sid = ::DBGetString(hContact, this->m_szModuleName, "sid");
- if (!sid)
- ::SendMessage(hwndList, CLM_DELETEITEM, (WPARAM)hItem, 0);
- else if(contacts && ::strstr(contacts, sid))*/
- ::SendMessage(hwndList, CLM_DELETEITEM, (WPARAM)hItem, 0);
- }
+ ::SendMessage(hwndList, CLM_DELETEITEM, (WPARAM)hItem, 0);
}
void CSkypeProto::ChatPrepare(HANDLE hItem, HWND hwndList, const wchar_t *contacts)