From e1057c87815ed6147102db9dcf3d4e134e280517 Mon Sep 17 00:00:00 2001 From: Ammar Githam Date: Sat, 15 May 2021 12:44:03 +0900 Subject: [PATCH] Fix sending videos in DM. Fixes austinhuang0131/barinsta#1217 --- .../fragments/directmessages/DirectMessageThreadFragment.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/awais/instagrabber/fragments/directmessages/DirectMessageThreadFragment.java b/app/src/main/java/awais/instagrabber/fragments/directmessages/DirectMessageThreadFragment.java index d4db3192..eb97b60f 100644 --- a/app/src/main/java/awais/instagrabber/fragments/directmessages/DirectMessageThreadFragment.java +++ b/app/src/main/java/awais/instagrabber/fragments/directmessages/DirectMessageThreadFragment.java @@ -1117,7 +1117,9 @@ public class DirectMessageThreadFragment extends Fragment implements DirectReact if (!isAdded()) return; if (!entry.isVideo) { navigateToImageEditFragment(entry.path); + return; } + handleSentMessage(viewModel.sendUri(entry)); }); mediaPicker.show(getChildFragmentManager(), "MediaPicker"); });