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

Commit

Permalink
Do not insert multiple instance of the same number-contactId pair
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewvogt committed Aug 19, 2015
1 parent a6ff882 commit 876808a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/seasidecache.cpp
Expand Up @@ -2173,6 +2173,7 @@ bool SeasideCache::updateContactIndexing(const QContact &oldContact, const QCont
resolveUnknownAddresses(address.first, address.second, item);
}

if (!m_phoneNumberIds.contains(address.second, iid))
m_phoneNumberIds.insert(address.second, iid);
}
}
Expand Down

0 comments on commit 876808a

Please sign in to comment.