summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_account.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-14 20:04:15 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-14 20:04:15 +0000
commit6165d65054185f4117cb625eb738b96d3a7032ef (patch)
tree235ec7675c19ffc61e0694e4bd79ac2b5a03d70c /protocols/Skype/src/skype_account.cpp
parent5c2da0fd5b2542d99750747fc746013b7755ddae (diff)
- memory corruption fix;
- fix for the annoying bug with going offline when a proto is actually online git-svn-id: http://svn.miranda-ng.org/main/trunk@4948 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_account.cpp')
-rw-r--r--protocols/Skype/src/skype_account.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Skype/src/skype_account.cpp b/protocols/Skype/src/skype_account.cpp
index 39f4e52317..2642ef0da6 100644
--- a/protocols/Skype/src/skype_account.cpp
+++ b/protocols/Skype/src/skype_account.cpp
@@ -346,14 +346,14 @@ void CSkypeProto::OnAccountChanged(int prop)
this->UpdateProfile(this->account.fetch());
break;
- case Account::P_AVAILABILITY:
+/* case Account::P_AVAILABILITY:
{
Contact::AVAILABILITY status;
this->account->GetPropAvailability(status);
int mir_status = this->SkypeToMirandaStatus(status);
- if (mir_status != this->m_iStatus)
+ if (mir_status != this->m_iStatus && mir_status >= ID_STATUS_OFFLINE)
this->SetStatus(mir_status);
}
- break;
+ break;*/
}
} \ No newline at end of file