浏览代码

Peek & Pop not available for e2e

Marino Faggiana 7 年之前
父节点
当前提交
8dedcda798
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      iOSClient/Main/CCMain.m

+ 1 - 1
iOSClient/Main/CCMain.m

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