sleep for 2 seconds before trying to connect skype using dbus and try it repeatedly when skype refuses to authenticate spectrum

This commit is contained in:
Jan Kaluza 2012-03-12 10:48:24 +01:00
parent 7ecce75bab
commit c43a4b4fc1

View file

@ -473,6 +473,7 @@ void Skype::login() {
}
}
sleep(2);
m_timer = g_timeout_add_seconds(1, create_dbus_proxy, this);
}
@ -499,7 +500,7 @@ bool Skype::loadSkypeBuddies() {
return FALSE;
}
if (re.empty() || re == "CONNSTATUS OFFLINE") {
if (re.empty() || re == "CONNSTATUS OFFLINE" || re == "ERROR 68") {
return TRUE;
}