Skip to content

Commit

Permalink
Merge pull request #4990 from vector-im/doug/4989_sync_contacts_state
Browse files Browse the repository at this point in the history
Move call to validateSyncLocalContactsState into MatrixKit.
  • Loading branch information
pixlwave authored Oct 12, 2021
2 parents 93e7089 + 17110e2 commit e84255f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 0 additions & 7 deletions Riot/Modules/Application/LegacyAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -1843,13 +1843,6 @@ - (void)initMatrixSessions
[self checkLocalPrivateKeysInSession:mxSession];

[self.pushNotificationService checkPushKitPushersInSession:mxSession];

// Validate the availability of local contact sync for any changes to the
// authorization of contacts access that may have occurred since the last launch.
if (BuildSettings.allowLocalContactsAccess)
{
[MXKContactManager.sharedManager validateSyncLocalContactsState];
}
}
else if (mxSession.state == MXSessionStateClosed)
{
Expand Down
1 change: 1 addition & 0 deletions changelog.d/4989.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Contacts Sync: Move call to validateSyncLocalContactsState into MatrixKit.

0 comments on commit e84255f

Please sign in to comment.