fix changes made in 8c4b5d09

This commit is contained in:
fridtjof
2019-02-20 18:12:18 +01:00
parent 3eb2ec507d
commit b53589cbd0
4 changed files with 4 additions and 4 deletions
@@ -88,7 +88,7 @@
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(onContactManagerDidUpdate:) name:kMXKContactManagerDidUpdateLocalContactMatrixIDsNotification object:nil];
// Refresh the matrix identifiers for all the local contacts.
if ([CNContactStore authorizationStatusForEntityType:CNEntityTypeContacts] != CNAuthorizationStatusAuthorized)
if ([CNContactStore authorizationStatusForEntityType:CNEntityTypeContacts] != CNAuthorizationStatusNotDetermined)
{
// Refresh the matrix identifiers for all the local contacts.
[[MXKContactManager sharedManager] updateMatrixIDsForAllLocalContacts];