MESSENGER-3344 undecrypted contactsv2

This commit is contained in:
Frank Rotermund
2022-09-19 12:45:39 +02:00
parent 1550ee2a9a
commit 0d546702c3
4 changed files with 18 additions and 0 deletions
@@ -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