summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_contacts.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-04-21 09:51:58 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-04-21 09:51:58 +0000
commit49581e73a1f02bd48d2d2c1861efd77a4bb66059 (patch)
tree4e3cb02687ab1a1ea4038d96007525a2b379eb27 /protocols/Skype/src/skype_contacts.cpp
parent23291e3639741d6539f39695036bd140429ddccc (diff)
reworked file transfers
fixed auth requests git-svn-id: http://svn.miranda-ng.org/main/trunk@4498 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_contacts.cpp')
-rw-r--r--protocols/Skype/src/skype_contacts.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_contacts.cpp b/protocols/Skype/src/skype_contacts.cpp
index c29580d1bc..8bb2149163 100644
--- a/protocols/Skype/src/skype_contacts.cpp
+++ b/protocols/Skype/src/skype_contacts.cpp
@@ -329,6 +329,15 @@ void __cdecl CSkypeProto::LoadAuthWaitList(void*)
}
}
+bool CSkypeProto::IsContactOnline(HANDLE hContact)
+{
+ return ::db_get_w(
+ hContact,
+ this->m_szModuleName,
+ SKYPE_SETTINGS_STATUS,
+ ID_STATUS_OFFLINE) != ID_STATUS_OFFLINE;
+}
+
void CSkypeProto::SetAllContactStatus(int status)
{
HANDLE hContact = ::db_find_first();