File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
src/main/kotlin/app/revanced/patches/reddit/customclients/syncforreddit/fix/user Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -828,8 +828,8 @@ public final class app/revanced/patches/reddit/customclients/syncforreddit/fix/s
828828 public static final field INSTANCE Lapp/revanced/patches/reddit/customclients/syncforreddit/fix/slink/FixSLinksPatch;
829829}
830830
831- public final class app/revanced/patches/reddit/customclients/syncforreddit/fix/user/FixUserEndpointPatch : app/revanced/patcher/patch/BytecodePatch {
832- public static final field INSTANCE Lapp/revanced/patches/reddit/customclients/syncforreddit/fix/user/FixUserEndpointPatch ;
831+ public final class app/revanced/patches/reddit/customclients/syncforreddit/fix/user/UseUserEndpointPatch : app/revanced/patcher/patch/BytecodePatch {
832+ public static final field INSTANCE Lapp/revanced/patches/reddit/customclients/syncforreddit/fix/user/UseUserEndpointPatch ;
833833 public fun execute (Lapp/revanced/patcher/data/BytecodeContext;)V
834834 public synthetic fun execute (Lapp/revanced/patcher/data/Context;)V
835835}
Original file line number Diff line number Diff line change @@ -17,16 +17,17 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction
1717import com.android.tools.smali.dexlib2.iface.reference.StringReference
1818
1919@Patch(
20- name = " Fix /user/ endpoint" ,
21- description = " Fixes the endpoint for viewing user profiles by replacing /u/ with /user/ ." ,
20+ name = " Use /user/ endpoint" ,
21+ description = " Replaces the deprecated endpoint for viewing user profiles /u with /user, that used to fix a bug ." ,
2222 compatiblePackages = [
2323 CompatiblePackage (" com.laurencedawson.reddit_sync" ),
2424 CompatiblePackage (" com.laurencedawson.reddit_sync.pro" ),
2525 CompatiblePackage (" com.laurencedawson.reddit_sync.dev" ),
2626 ],
27+ use = false ,
2728)
2829@Suppress(" unused" )
29- object FixUserEndpointPatch : BytecodePatch(
30+ object UseUserEndpointPatch : BytecodePatch(
3031 fingerprints = setOf(
3132 OAuthFriendRequestFingerprint ,
3233 OAuthSubredditInfoRequestConstructorFingerprint ,
You can’t perform that action at this time.
0 commit comments