Skip to content

Commit 58a0875

Browse files
committed
Do not delete the original file when sending a media. Fixes #3800.
1 parent 13ec183 commit 58a0875

File tree

1 file changed

+1
-1
lines changed
  • libraries/mediaupload/api/src/main/kotlin/io/element/android/libraries/mediaupload/api

1 file changed

+1
-1
lines changed

libraries/mediaupload/api/src/main/kotlin/io/element/android/libraries/mediaupload/api/MediaSender.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class MediaSender @Inject constructor(
3939
.process(
4040
uri = uri,
4141
mimeType = mimeType,
42-
deleteOriginal = true,
42+
deleteOriginal = false,
4343
compressIfPossible = compressIfPossible,
4444
)
4545
.flatMapCatching { info ->

0 commit comments

Comments
 (0)