mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-14 00:05:04 +01:00
Fixed media/photo share functionality
This commit is contained in:
parent
85833c6f41
commit
9c8f05fa04
@ -3911,8 +3911,8 @@ class ChatActivity :
|
||||
startActivity(intent)
|
||||
}
|
||||
fun share(message: ChatMessage) {
|
||||
val fileName = message.selectedIndividualHashMap!![PreviewMessageViewHolder.KEY_NAME]!!
|
||||
path = applicationContext.cacheDir.absolutePath + "/" + fileName
|
||||
val filename = message.selectedIndividualHashMap!!["name"]
|
||||
path = applicationContext.cacheDir.absolutePath + "/" + filename
|
||||
val shareUri = FileProvider.getUriForFile(
|
||||
this,
|
||||
BuildConfig.APPLICATION_ID,
|
||||
|
Loading…
Reference in New Issue
Block a user