mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-16 03:08:58 +03:00
Use filename if available
This commit is contained in:
parent
1c43f92e49
commit
283e10dfef
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ internal class DefaultSendService @AssistedInject constructor(
|
|||
val attachmentData = ContentAttachmentData(
|
||||
size = messageContent.info!!.size,
|
||||
mimeType = messageContent.info.mimeType!!,
|
||||
name = messageContent.body,
|
||||
name = messageContent.getFileName(),
|
||||
queryUri = Uri.parse(messageContent.url),
|
||||
type = ContentAttachmentData.Type.FILE
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue