diff --git a/CHANGELOG.md b/CHANGELOG.md index 641f7bd..078742f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 0.0.95 +## 0.0.96 Feature: Show link in chat if the saved media file contains one Improve: Verification badge for groups diff --git a/lib/src/services/mediafiles/compression.service.dart b/lib/src/services/mediafiles/compression.service.dart index da9f156..a5a828c 100644 --- a/lib/src/services/mediafiles/compression.service.dart +++ b/lib/src/services/mediafiles/compression.service.dart @@ -97,9 +97,9 @@ Future compressAndOverlayVideo(MediaFileService media) async { if (mediaInfo == null) { Log.error('Could not compress video using original video.'); // as a fall back use the non compressed version - media.ffmpegOutputPath.renameSync(media.tempPath.path); + media.ffmpegOutputPath.copySync(media.tempPath.path); } else { - mediaInfo.file!.renameSync(media.tempPath.path); + mediaInfo.file!.copySync(media.tempPath.path); } stopwatch.stop(); diff --git a/pubspec.yaml b/pubspec.yaml index 73a3b38..4ef5a04 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: "twonly, a privacy-friendly way to connect with friends through sec publish_to: 'none' -version: 0.0.95+95 +version: 0.0.96+96 environment: sdk: ^3.6.0