From 3868c2b9be5e4d80085ad135fe22bf4f38b6b60d Mon Sep 17 00:00:00 2001 From: inotia00 <108592928+inotia00@users.noreply.github.com> Date: Sat, 11 May 2024 01:49:34 +0900 Subject: [PATCH] fix(YouTube/Return YouTube Dislike): wrong video id is used in shorts https://github.com/inotia00/ReVanced_Extended/issues/1987 --- .../patches/components/ReturnYouTubeDislikeFilterPatch.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/java/app/revanced/integrations/youtube/patches/components/ReturnYouTubeDislikeFilterPatch.java b/app/src/main/java/app/revanced/integrations/youtube/patches/components/ReturnYouTubeDislikeFilterPatch.java index b16dc16f7b..20e8e833f9 100644 --- a/app/src/main/java/app/revanced/integrations/youtube/patches/components/ReturnYouTubeDislikeFilterPatch.java +++ b/app/src/main/java/app/revanced/integrations/youtube/patches/components/ReturnYouTubeDislikeFilterPatch.java @@ -164,8 +164,6 @@ private String findVideoId(byte[] protobufBufferArray) { for (String videoId : lastVideoIds.keySet()) { if (byteArrayContainsString(protobufBufferArray, videoId)) { return videoId; - } else if (videoId.equals(shortsVideoId)) { - return videoId; } } return null;