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:
parent
7ecce75bab
commit
c43a4b4fc1
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue