Skip to content

Commit

Permalink
fix: Correctly remove recipientsEmails when sending a non-MAIL tran…
Browse files Browse the repository at this point in the history
…sfer (#284)
  • Loading branch information
KevinBoulongne authored Dec 24, 2024
2 parents 0c1745c + 9039485 commit 0746669
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class ImportFilesViewModel @Inject constructor(
message = transferMessage,
numberOfDownload = selectedDownloadLimitOption.value.apiValue,
language = selectedLanguageOption.value.apiValue,
recipientsEmails = validatedRecipientsEmails,
recipientsEmails = if (selectedTransferType.value == TransferTypeUi.MAIL) validatedRecipientsEmails else emptySet(),
files = importationFilesManager.importedFiles.value.mapToList { fileUi ->
object : UploadFileSession {
override val path: String? = null
Expand Down

0 comments on commit 0746669

Please sign in to comment.