fix changes made in f5f16e16

This commit is contained in:
fridtjof
2019-02-20 18:12:18 +01:00
parent c178b7e7a1
commit 16da95bae0
4 changed files with 4 additions and 4 deletions
@@ -149,7 +149,7 @@
[[Analytics sharedInstance] trackScreen:_screenName];
// Check whether the access to the local contacts has not been already asked.
if ([CNContactStore authorizationStatusForEntityType:CNEntityTypeContacts] != CNAuthorizationStatusNotDetermined)
if ([CNContactStore authorizationStatusForEntityType:CNEntityTypeContacts] == CNAuthorizationStatusNotDetermined)
{
// Allow by default the local contacts sync in order to discover matrix users.
// This setting change will trigger the loading of the local contacts, which will automatically