From kde-commits Fri Feb 20 04:35:59 2009 From: Matt Rogers Date: Fri, 20 Feb 2009 04:35:59 +0000 To: kde-commits Subject: branches/KDE/4.2/kdenetwork/kopete/protocols/yahoo/libkyahoo Message-Id: <1235104559.647472.27079.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=123510456821389 SVN commit 928769 by mattr: backport the disconnect fix for KDE 4.2.1 M +2 -1 client.cpp --- branches/KDE/4.2/kdenetwork/kopete/protocols/yahoo/libkyahoo/client.cpp #928768:928769 @@ -275,7 +275,8 @@ changeStatus( d->statusOnConnect, d->statusMessageOnConnect, Yahoo::StatusTypeAway ); d->statusMessageOnConnect.clear(); setStatus( d->statusOnConnect ); - m_pingTimer->start( 60 * 1000 ); + /* only send a ping every hour. we get disconnected otherwise */ + m_pingTimer->start( 60 * 60 * 1000 ); initTasks(); } else { d->active = false;