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

List:       kde-commits
Subject:    branches/work/kopete/dev-0.12/kopete/protocols/yahoo
From:       Andre Duffeck <andre () duffeck ! de>
Date:       2006-01-27 13:53:04
Message-ID: 1138369984.479868.2797.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 502897 by duffeck:

Set status of the contact to online after he has granted you authorization.


 M  +3 -0      yahooaccount.cpp  


--- branches/work/kopete/dev-0.12/kopete/protocols/yahoo/yahooaccount.cpp #502896:502897
@@ -720,6 +720,9 @@
 	message = i18n( "User %1 has granted your authorization request." )
 		.arg( who );
 	KNotification::event( "kopete_authorization", message, 0 , 0 , 0 );
+	
+	if( contact( who ) )
+		contact( who )->setOnlineStatus( m_protocol->Online );
 }
 
 void YahooAccount::slotAuthorizationRejected( const QString &who, const QString &msg )
[prev in list] [next in list] [prev in thread] [next in thread] 

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