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

List:       kde-commits
Subject:    kdenetwork/kopete/protocols/msn
From:       Olivier Goffart <ogoffart () kde ! org>
Date:       2005-04-20 10:39:06
Message-ID: 20050420103906.086055FA () office ! kde ! org
[Download RAW message or body]

CVS commit by ogoffart: 

Make sure the status of myslef is not changed when we have it in the contactlist.
This will make possible to go invisible when myself is in the contactlist


  M +2 -2      msnnotifysocket.cpp   1.164


--- kdenetwork/kopete/protocols/msn/msnnotifysocket.cpp  #1.163:1.164
@@ -325,5 +325,5 @@ void MSNNotifySocket::parseCommand( cons
                 // status handle publicName strangeNumber MSNOBJECT
                 MSNContact *c = static_cast<MSNContact*>( m_account->contacts()[ \
                data.section( ' ', 1, 1 ) ] );
-                if( c )
+                if( c && c->contactId() != m_account->accountId() )
                 {
                         QString publicName=unescape( data.section( ' ', 2, 2 ) );
@@ -351,5 +351,5 @@ void MSNNotifySocket::parseCommand( cons
         {
                 MSNContact *c = static_cast<MSNContact*>( m_account->contacts()[ \
                data.section( ' ', 0, 0 ) ] );
-                if( c )
+                if( c && c->contactId() != m_account->accountId() )
                 {
                         c->setOnlineStatus( MSNProtocol::protocol()->FLN );


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

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