[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-10 8:11:55
Message-ID: 20050410081155.20266495 () office ! kde ! org
[Download RAW message or body]

CVS commit by ogoffart: 

Don't add myself on the serverlist


  M +4 -0      msncontact.cpp   1.185


--- kdenetwork/kopete/protocols/msn/msncontact.cpp  #1.184:1.185
@@ -390,4 +390,8 @@ void MSNContact::sync( unsigned int chan
         unsigned int count=m_serverGroups.count();
 
+        //Don't add the contact if it's myslef.
+        if(count==0 && contactId() == account()->accountId() )
+                return;
+
         //STEP ONE : add the contact to every kopetegroups where the MC is
         QPtrList<Kopete::Group> groupList = metaContact()->groups();


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

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