Browse Source

修改下载文件后更新本地消息失败问题

heavyrain2012 4 years ago
parent
commit
df152a2357
1 changed files with 1 additions and 1 deletions
  1. 1 1
      wfuikit/WFChatUIKit/Utilities/WFCUMediaMessageDownloader.m

+ 1 - 1
wfuikit/WFChatUIKit/Utilities/WFCUMediaMessageDownloader.m

@@ -125,7 +125,7 @@ static WFCUMediaMessageDownloader *sharedSingleton = nil;
     
     if ([fileManager fileExistsAtPath:savedPath]) {
         mediaContent.localPath = savedPath;
-        [[WFCCIMService sharedWFCIMService] updateMessage:messageUid content:mediaContent];
+        [[WFCCIMService sharedWFCIMService] updateMessage:msg.messageId content:mediaContent];
         
         dispatch_async(dispatch_get_main_queue(), ^{
             successBlock(msg.messageUid, savedPath);