Browse Source

Peek & Pop not available for e2e

Marino Faggiana 7 năm trước cách đây
mục cha
commit
8dedcda798
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      iOSClient/Main/CCMain.m

+ 1 - 1
iOSClient/Main/CCMain.m

@@ -938,7 +938,7 @@
     NSIndexPath *indexPath = [self.tableView indexPathForRowAtPoint:location];
     tableMetadata *metadata = [self getMetadataFromSectionDataSource:indexPath];
     
-    if (metadata.thumbnailExists) {
+    if (metadata.thumbnailExists && _metadataFolder.e2eEncrypted == NO) {
         CCCellMain *cell = [self.tableView cellForRowAtIndexPath:indexPath];
         
         if (cell) {