contact requests: prevent double loading and double ns lookup

- Checks existing contact requests for duplicates before appending
  those accrued from getTrustRequests, as incomingTrustRequests
  may have already done so, prior to loadContactRequests being
  called.

- Changes hasInvitations to return an abservable boolean that
  representing the non-zero count of the contact request list
  only.

Change-Id: I9d0c2165e26ac0c031c261ed9c05d6f2587d7574
Reviewed-by: Kateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>
2 files changed
tree: ac4354179e2bf6024aab7ba5767710820ad1d5b1
  1. Ring/
  2. .gitattributes
  3. .gitignore
  4. .gitreview
  5. compile-ios.sh
  6. COPYING