From 9ec0ad12a40adbb715c3c02c68276d4aa9061826 Mon Sep 17 00:00:00 2001 From: Mario Danic Date: Thu, 25 Jul 2019 18:52:39 +0200 Subject: [PATCH] Fix issues with opening attachments Signed-off-by: Mario Danic --- .../talk/adapters/messages/MagicPreviewMessageViewHolder.java | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/com/nextcloud/talk/adapters/messages/MagicPreviewMessageViewHolder.java b/app/src/main/java/com/nextcloud/talk/adapters/messages/MagicPreviewMessageViewHolder.java index 2de44f4d5..a3ff765c9 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/messages/MagicPreviewMessageViewHolder.java +++ b/app/src/main/java/com/nextcloud/talk/adapters/messages/MagicPreviewMessageViewHolder.java @@ -121,7 +121,6 @@ public class MagicPreviewMessageViewHolder extends MessageHolders.IncomingImageM } else { Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(message.getSelectedIndividualHashMap().get("link"))); browserIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); - browserIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT); context.startActivity(browserIntent); } });