Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
[libcontacts] Process fetch-by-ID results synchronously
When we fetch specific contact IDs as part of the process of linking
contacts, we must process the results synchronously so that the fetched
contacts will be immediately available from the cache.
  • Loading branch information
matthewvogt committed Dec 17, 2013
1 parent 1fd5604 commit 2762fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/seasidecache.cpp
Expand Up @@ -2035,7 +2035,7 @@ void SeasideCache::contactsAvailable()
m_contactsToAppend.insert(type, qMakePair(queryDetailTypes, contacts));
}
} else {
if (m_activeResolve) {
if (m_activeResolve || (request == &m_fetchByIdRequest)) {
// Process these results immediately
applyContactUpdates(contacts, partialFetch, queryDetailTypes);
} else {
Expand Down

0 comments on commit 2762fae

Please sign in to comment.