summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skypekit/account.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-04-26 19:41:06 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-04-26 19:41:06 +0000
commitbed36b071fe082d34e5961bb5105e662f17aa7c6 (patch)
tree2b83b5c433675fa81c316fb336cd0377a5953ecd /protocols/Skype/src/skypekit/account.cpp
parenta3422fd14b9201e7bfc6ecb28df71ed68c39c228 (diff)
- sync was returned
- fixed contacts nick updating - fixed eternal "connecting" git-svn-id: http://svn.miranda-ng.org/main/trunk@4539 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skypekit/account.cpp')
-rw-r--r--protocols/Skype/src/skypekit/account.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/protocols/Skype/src/skypekit/account.cpp b/protocols/Skype/src/skypekit/account.cpp
index 31b4c45298..fa931d179e 100644
--- a/protocols/Skype/src/skypekit/account.cpp
+++ b/protocols/Skype/src/skypekit/account.cpp
@@ -15,6 +15,13 @@ void CAccount::SetOnAccountChangedCallback(OnAccountChanged callback, CSkypeProt
this->callback = callback;
}
+bool CAccount::IsOnline()
+{
+ CAccount::STATUS status;
+ this->GetPropStatus(status);
+ return status == CAccount::LOGGED_IN;
+}
+
bool CAccount::SetAvatar(SEBinary avatar, Skype::VALIDATERESULT &result)
{
int fbl;