Skip to content
Snippets Groups Projects
Commit 6c45bad0 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk Committed by Sébastien Blin
Browse files

contactmodel: update searching contact


Update filtered contacts when search changed from Ring to Searching

Change-Id: I85ee0bd5ec7f89481e613fc376340f73df1614e6
Reviewed-by: default avatarSebastien Blin <sebastien.blin@savoirfairelinux.com>
parent cb08d760
No related branches found
No related tags found
No related merge requests found
...@@ -1185,6 +1185,10 @@ ConversationModelPimpl::slotContactModelUpdated(const std::string& uri) ...@@ -1185,6 +1185,10 @@ ConversationModelPimpl::slotContactModelUpdated(const std::string& uri)
// this element as it is the temporary. // this element as it is the temporary.
// Only when we have found an uri. // Only when we have found an uri.
conversations.front() = conversationInfo; conversations.front() = conversationInfo;
} else if (not conversations.front().uid.empty()) {
//update conversation when uri not found
//but conversation have uri from previous search
conversations.front() = conversationInfo;
} }
} else { } else {
// no conversation, add temporaryItem // no conversation, add temporaryItem
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment