Commit 5c40f7b4 authored by mvogt's avatar mvogt

[libcontacts] Process contact additions if we have a change listener

Otherwise, existing resolutions may not be updated by the addition of
better matches.
parent c8f7016e
......@@ -1923,7 +1923,9 @@ void SeasideCache::timerEvent(QTimerEvent *event)
void SeasideCache::contactsAdded(const QList<QContactId> &ids)
if (m_keepPopulated) {
// These additions may change address resolutions, so we may need to process them
const bool relevant(m_keepPopulated || !instancePtr->m_changeListeners.isEmpty());
if (relevant) {
updateContacts(ids, &m_changedContacts);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment