[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/protocols/yahoo/libkyahoo
From:       Michael Anthony Cole <colemichae () gmail ! com>
Date:       2010-01-20 10:04:30
Message-ID: 1263981870.538720.10592.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1077454 by michaelacole:

ping timer needs to be set much shorter i am still getting timeouts and this then \
also causes other problems when yahoo times you out and does not try to inform the \
client. time set is now 1 Minute as the Yahoo Messenger is also sending at this time \
duration

 M  +7 -2      client.cpp  


--- trunk/KDE/kdenetwork/kopete/protocols/yahoo/libkyahoo/client.cpp #1077453:1077454
@@ -280,8 +280,13 @@
 			changeStatus( d->statusOnConnect, d->statusMessageOnConnect, \
Yahoo::StatusTypeAway );  d->statusMessageOnConnect.clear();
 		setStatus( d->statusOnConnect );
-		/* YM Client sends a ping more often than an hour set ours to every 20min. so as \
                we dont get disconnected*/
-		m_pingTimer->start( 20 * 60 * 1000 );
+		/* YM Client sends a ping every minute
+		* If we time out and try to log out and log in
+		* we can lose messages therefore we should set this
+		* to the same as the Yahoo Messenger client
+		*. so as we dont get disconnected
+		*/
+		m_pingTimer->start( 1 * 60 * 1000 );
 		initTasks();
 	} else {
 		d->active = false;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic