You are receiving this mail because:
You are the assignee for the bug, or are watching the assignee.
Additional Comments From mattr kde org 2005-07-16 22:16
SVN commit 435395 by mattr:
backport the fix for bug 105786. It should be in KDE 3.4.2 (Kopete 0.10.3)
CCBUG: 105786
M +6 -7 icqcontact.cpp
#435394:435395
@ -133,13 +133,10 @
if ( m_ssiItem.waitingAuth() )
Status( mProtocol->statusManager()->waitingForAuth() );
-QString nickname = property( ()->nickName() ).value().toString();
-if ( nickname.isEmpty() || ::normalize( nickname ) == ::normalize( contactId() ) )
-{
-int time = ( KApplication::random() % 25 ) * 1000;
-kdDebug(SCAR_ICQ_DEBUG) << k_funcinfo << "updating nickname in " << time/1000 << " seconds" << endl;
-QTimer::singleShot( time, this, SLT( requestShortInfo() ) );
-}
+int time = ( KApplication::random() % 20 ) * 1000;
+kdDebug(SCAR_ICQ_DEBUG) << k_funcinfo << "updating nickname in " << time/1000 << " seconds" << endl;
+QTimer::singleShot( time, this, SLT( requestShortInfo() ) );
+
}
void ICQContact::requestShortInfo()
@ -216,6 +213,8 @
kdDebug(SCAR_ICQ_DEBUG) << k_funcinfo << "received long info from engine" << endl;
ICQGeneralUserInfo genInfo = mAccount->engine()->getGeneralInfo( contact );
+if ( !genInfo.nickname.isEmpty() )
+setNickName( genInfo.nickname );
emit haveBasicInfo( genInfo );
ICQWorkUserInfo workInfo = mAccount->engine()->getWorkInfo( contact );
kopete-devel mailing list
kopete-devel (AT) kde (DOT) org