Skip to content
Snippets Groups Projects
Commit c7016751 authored by Ming Rui Zhang's avatar Ming Rui Zhang
Browse files

contactmodel: make refreshFilter and emit contactRemoved general

Change-Id: I9679df3bda97d4401ea137088d006820154d141b
parent 747a45a0
Branches
Tags
No related merge requests found
......@@ -891,13 +891,12 @@ ContactModelPimpl::slotContactRemoved(const QString& accountId,
}
}
// Update the smartlist
linked.owner.conversationModel->refreshFilter();
if (banned) {
// Update the smartlist
linked.owner.conversationModel->refreshFilter();
emit linked.bannedStatusChanged(contactUri, true);
} else {
emit linked.contactRemoved(contactUri);
}
emit linked.contactRemoved(contactUri);
}
void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment