You are receiving this mail because:
You are the assignee for the bug, or are watching the assignee.
mattr kde org changed:
What |Removed |Added
Status|NEW |RESLVED
Resolution| |FIXED
Additional Comments From mattr kde org 2005-07-16 22:12
SVN commit 435392 by mattr:
when getting the user info for the dialog, make sure that we update the
nickname for the contact.
also make sure that we update the contact name on login as well.
BUG: 105786
M +6 -7 icqcontact.cpp
#435391:435392
@ -144,13 +144,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()
@ -227,6 +224,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