From 32e43471f4fd3d19b03ff867b0b6100632f528ae Mon Sep 17 00:00:00 2001 From: anonymous Date: Mon, 30 Oct 2023 11:02:55 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=20Upgrade=20to=202.3.3+1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + lib/business_logic/view_models/tui_chat_global_model.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b17f96e..e10d558 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ ## Bug Fixes * Fixed an issue on time tag creator. +* Fixed an issue on Video Message LocalURL. # 2.3.2 diff --git a/lib/business_logic/view_models/tui_chat_global_model.dart b/lib/business_logic/view_models/tui_chat_global_model.dart index 561eb07..0d7f9ad 100644 --- a/lib/business_logic/view_models/tui_chat_global_model.dart +++ b/lib/business_logic/view_models/tui_chat_global_model.dart @@ -660,7 +660,7 @@ class TUIChatGlobalModel extends ChangeNotifier implements TIMUIKitClass { final originalImageType = PlatformUtils().isIOS ? 1 : 0; if (!isImageType && !isVideoType) { _updateMessageLocationAndDownloadFile(messageProgress); - } else if ((isImageType && messageProgress.type == originalImageType) || isVideoType) { + } else if ((isImageType && messageProgress.type == originalImageType) || (isVideoType && !messageProgress.isSnapshot)) { Future.delayed(const Duration(seconds: 1), () => _updateMessageAndDownloadFile(message, messageProgress)); } else { return; diff --git a/pubspec.yaml b/pubspec.yaml index c2cbbb9..99fec36 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: tencent_cloud_chat_uikit description: A powerful chat UI component library and business logic for Tencent Cloud Chat, creating seamless in-app chat modules for delightful user experiences. -version: 2.3.3 +version: 2.3.3+1 homepage: https://trtc.io/products/chat?utm_source=gfs&utm_medium=link&utm_campaign=%E6%B8%A0%E9%81%93&_channel_track_key=k6WgfCKn repository: https://github.com/TencentCloud/chat-uikit-flutter documentation: https://comm.qq.com/im/doc/flutter/en/TUIKit/readme.html