diff options
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();
|