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