diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2013-04-21 09:51:58 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2013-04-21 09:51:58 +0000 |
commit | 49581e73a1f02bd48d2d2c1861efd77a4bb66059 (patch) | |
tree | 4e3cb02687ab1a1ea4038d96007525a2b379eb27 /protocols/Skype/src/skype_contacts.cpp | |
parent | 23291e3639741d6539f39695036bd140429ddccc (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.cpp | 9 |
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();
|