mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 17:42:45 +02:00
MESSENGER-3344 undecrypted contactsv2
This commit is contained in:
@@ -240,4 +240,7 @@ typedef void(^MXKContactManagerDiscoverUsersBoundTo3PIDs)(NSArray<NSArray<NSStri
|
||||
+ (void)requestUserConfirmationForLocalContactsSyncInViewController:(UIViewController* _Nonnull)viewController
|
||||
completionHandler:(void (^_Nonnull)(BOOL granted))handler;
|
||||
|
||||
// bwi: we need this public
|
||||
- (void)refreshMatrixContacts;
|
||||
|
||||
@end
|
||||
|
||||
@@ -1269,6 +1269,11 @@ NSString *const MXKContactManagerDataType = @"org.matrix.kit.MXKContactManagerDa
|
||||
|
||||
- (void)refreshMatrixContacts
|
||||
{
|
||||
// bwi: only refresh contacts when file can be encrypted (SecureFileStore is only unlocked after Pin/pasphrase
|
||||
if ( BwiBuildSettings.forcedPinProtection && !EncryptionKeyManager.shared.isInitFinished ) {
|
||||
return;
|
||||
};
|
||||
|
||||
NSArray *mxSessions = self.mxSessions;
|
||||
|
||||
// Check whether at least one session is available
|
||||
|
||||
Reference in New Issue
Block a user