Skip to content

Commit

Permalink
Update to support Telegraph T9.6.5 - P10.9
Browse files Browse the repository at this point in the history
  • Loading branch information
JeelsBoobz committed May 21, 2023
1 parent 80804c3 commit a1ed7dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/src/main/java/com/jeelsboobz/killergram/MainHook.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ public void handleLoadPackage(final XC_LoadPackage.LoadPackageParam lpparam) {
XposedBridge.hookAllMethods(DonateTelegraph, "native_removeInstance", XC_MethodReplacement.returnConstant(true));
XposedBridge.hookAllMethods(DonateTelegraph, "native_checkLicense", XC_MethodReplacement.returnConstant(true));
}
Class<?> MessagesControllerTelegraph = XposedHelpers.findClassIfExists("org.telegram.messenger.q90", lpparam.classLoader);
Class<?> MessagesControllerTelegraph = XposedHelpers.findClassIfExists("org.telegram.messenger.ha0", lpparam.classLoader);
if (MessagesControllerTelegraph != null) {
XposedBridge.hookAllMethods(MessagesControllerTelegraph, "B9", XC_MethodReplacement.returnConstant(false));
XposedBridge.hookAllMethods(MessagesControllerTelegraph, "P9", XC_MethodReplacement.returnConstant(false));
}
Class<?> MessagesControllerTelegraph2 = XposedHelpers.findClassIfExists("org.telegram.messenger.iu", lpparam.classLoader);
Class<?> MessagesControllerTelegraph2 = XposedHelpers.findClassIfExists("org.telegram.messenger.uu", lpparam.classLoader);
if (MessagesControllerTelegraph2 != null) {
XposedBridge.hookAllMethods(MessagesControllerTelegraph2, "B", XC_MethodReplacement.returnConstant(false));
}
Class<?> UserConfigTelegraph = XposedHelpers.findClassIfExists("org.telegram.messenger.gv0", lpparam.classLoader);
Class<?> UserConfigTelegraph = XposedHelpers.findClassIfExists("org.telegram.messenger.cw0", lpparam.classLoader);
if (UserConfigTelegraph != null) {
XposedBridge.hookAllMethods(UserConfigTelegraph, "N", XC_MethodReplacement.returnConstant(true));
}
Expand Down

0 comments on commit a1ed7dd

Please sign in to comment.