Lines 542-548
Link Here
|
542 |
QModelIndexList indexList; |
542 |
QModelIndexList indexList; |
543 |
Kopete::MetaContact *mc = dynamic_cast<Kopete::MetaContact*>(cle); |
543 |
Kopete::MetaContact *mc = dynamic_cast<Kopete::MetaContact*>(cle); |
544 |
|
544 |
|
545 |
if (mc) |
545 |
// Contact list doesn't contain myself account contact so ignore it |
|
|
546 |
if (mc && mc != Kopete::ContactList::self()->myself()) |
546 |
{ |
547 |
{ |
547 |
// metacontact handling |
548 |
// metacontact handling |
548 |
// search for all the groups in which this contact is |
549 |
// search for all the groups in which this contact is |
Lines 557-563
Link Here
|
557 |
indexList.append( mcIndex ); |
558 |
indexList.append( mcIndex ); |
558 |
} |
559 |
} |
559 |
} |
560 |
} |
560 |
else |
561 |
else if (!mc) |
561 |
{ |
562 |
{ |
562 |
// group handling |
563 |
// group handling |
563 |
Kopete::Group *g = dynamic_cast<Kopete::Group*>(cle); |
564 |
Kopete::Group *g = dynamic_cast<Kopete::Group*>(cle); |