Changeset - c43a4b4fc1f3
[Not reviewed]
0 1 0
Jan Kaluza - 13 years ago 2012-03-12 10:48:24
hanzz.k@gmail.com
sleep for 2 seconds before trying to connect skype using dbus and try it repeatedly when skype refuses to authenticate spectrum
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
backends/skype/main.cpp
Show inline comments
 
@@ -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;
 
	}
 

	
0 comments (0 inline, 0 general)