From kde-commits Sun Apr 10 08:11:55 2005 From: Olivier Goffart Date: Sun, 10 Apr 2005 08:11:55 +0000 To: kde-commits Subject: kdenetwork/kopete/protocols/msn Message-Id: <20050410081155.20266495 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=111312072611834 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 groupList = metaContact()->groups();