Marino Faggiana 7 years ago
parent
commit
325a830c8b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      iOSClient/Main/CCMain.m

+ 1 - 1
iOSClient/Main/CCMain.m

@@ -4990,7 +4990,7 @@
             
             
 #ifdef DEBUG
 #ifdef DEBUG
             // TEST ENCRYPTED/DECRYPTED
             // TEST ENCRYPTED/DECRYPTED
-            if ([_metadata.fileName containsString:@"enc.dms"]) {
+            if ([_metadata.fileName containsString:@".dms"]) {
                 [[NCEndToEndEncryption sharedManager] decryptMetadata:_metadata activeUrl:app.directoryUser];
                 [[NCEndToEndEncryption sharedManager] decryptMetadata:_metadata activeUrl:app.directoryUser];
             }
             }