diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-04-09 20:51:56 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-04-09 20:51:56 +0000 |
commit | 22d948a4cd28ccf08008db597e4f7470c3a57219 (patch) | |
tree | c02c11079548e32703db659e7e1b390b3b171665 /protocols/SkypeWeb/src/skype_proto.cpp | |
parent | 84261a1bda35dcdd1a4e56c3a573a169092f7363 (diff) |
SkypeWeb: ugly contacts lookup hack
git-svn-id: http://svn.miranda-ng.org/main/trunk@12718 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_proto.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp index 0056b2e330..1a5f7e1f71 100644 --- a/protocols/SkypeWeb/src/skype_proto.cpp +++ b/protocols/SkypeWeb/src/skype_proto.cpp @@ -37,11 +37,12 @@ PROTO<CSkypeProto>(protoName, userName), password(NULL) CallService(MS_DB_EVENT_REGISTERTYPE, 0, (LPARAM)&dbEventType);
// make contact map
+ lastMapContact = NULL;
for (MCONTACT hContact = db_find_first(m_szModuleName); hContact; hContact = db_find_next(hContact, m_szModuleName))
{
std::string cSkypename = ptrA(getStringA(hContact, SKYPE_SETTINGS_ID));
if (!contactMap.count(cSkypename))
- contactMap[cSkypename] = hContact;
+ contactMap[cSkypename] = lastMapContact = hContact;
}
}
|