[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-29 18:05:58
Message-ID: 1138557958.876382.2137.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 503623 by duffeck:

_DO_ set the contactstatus to Online if he has granted you authorization. 
The paket doesn't get sent if you are offline when the contact grants you \
authorization, so we cann safely  assume he is online, although his state can be any \
except Offline (yes, also Invisible).  This is stupid but Online is the more correct \
choice in any case i think.


 M  +3 -0      yahooaccount.cpp  


--- branches/work/kopete/dev-0.12/kopete/protocols/yahoo/yahooaccount.cpp \
#503622:503623 @@ -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