--- trunk/KDE/kdenetwork/kopete/kopete/contactlist/contactlistplainmodel.cpp 2009/10/29 20:21:09 1042447 +++ trunk/KDE/kdenetwork/kopete/kopete/kopete/contactlist/contactlistplainmodel.cpp 2009/10/29 20:23:56 1042448 @@ -263,7 +263,8 @@ QModelIndexList indexList; Kopete::MetaContact *mc = dynamic_cast(cle); - if (mc) + // Contact list doesn't contain myself account contact so ignore it + if (mc && mc != Kopete::ContactList::self()->myself()) { int mcPos = m_contacts.indexOf( mc ); Q_ASSERT( mcPos != -1 ); --- trunk/KDE/kdenetwork/kopete/kopete/contactlist/contactlisttreemodel.cpp 2009/10/29 20:21:09 1042447 +++ trunk/KDE/kdenetwork/kopete/kopete/contactlist/contactlisttreemodel.cpp 2009/10/29 20:23:56 1042448 @@ -542,7 +542,8 @@ QModelIndexList indexList; Kopete::MetaContact *mc = dynamic_cast(cle); - if (mc) + // Contact list doesn't contain myself account contact so ignore it + if (mc && mc != Kopete::ContactList::self()->myself()) { // metacontact handling // search for all the groups in which this contact is @@ -557,7 +558,7 @@ indexList.append( mcIndex ); } } - else + else if (!mc) { // group handling Kopete::Group *g = dynamic_cast(cle);