mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-22 13:05:31 +03:00
fix to open share urls from preview with files app
The wrong context was passed, so the overwritten startActivity in ChatActivity was not called. Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
9c1f68abb4
commit
c7a7206fd0
2 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ class IncomingLinkPreviewMessageViewHolder(incomingView: View, payload: Any) :
|
|||
message,
|
||||
ncApi,
|
||||
binding.referenceInclude,
|
||||
context
|
||||
itemView.context
|
||||
)
|
||||
binding.referenceInclude.referenceWrapper.setOnLongClickListener { l: View? ->
|
||||
commonMessageInterface.onOpenMessageActionsDialog(message)
|
||||
|
|
|
@ -109,7 +109,7 @@ class OutcomingLinkPreviewMessageViewHolder(outcomingView: View, payload: Any) :
|
|||
message,
|
||||
ncApi,
|
||||
binding.referenceInclude,
|
||||
context
|
||||
itemView.context
|
||||
)
|
||||
binding.referenceInclude.referenceWrapper.setOnLongClickListener { l: View? ->
|
||||
commonMessageInterface.onOpenMessageActionsDialog(message)
|
||||
|
|
Loading…
Reference in a new issue