Browse Source

解决pc发送文件,app同步消息展示进度问题

zwp 5 tháng trước cách đây
mục cha
commit
63380a625c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      AIIM/Controller/chat/chetCell/ChatMessageModel.m

+ 1 - 1
AIIM/Controller/chat/chetCell/ChatMessageModel.m

@@ -485,7 +485,7 @@
     NSInteger value = [[[NSUserDefaults standardUserDefaults] valueForKey:key] integerValue];
     NSLog(@"checkIsNeedResend key: %@  value: %ld", key, value);
 
-    if (value >= 100) {
+    if (value >= 100 || value == 0) {
         return FileUploadCompleted;
     }