Skip to content

Commit

Permalink
Update to support Telegraph T10.1.1 - P11.2.1M
Browse files Browse the repository at this point in the history
  • Loading branch information
JeelsBoobz committed Oct 20, 2023
1 parent 024e013 commit c96abdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/com/jeelsboobz/killergram/MainHook.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ public void handleLoadPackage(final XC_LoadPackage.LoadPackageParam lpparam) {
}
Class<?> MessagesControllerTelegraph = XposedHelpers.findClassIfExists("org.telegram.messenger.eb0", lpparam.classLoader);
if (MessagesControllerTelegraph != null) {
XposedBridge.hookAllMethods(MessagesControllerTelegraph, "da", XC_MethodReplacement.returnConstant(false));
XposedBridge.hookAllMethods(MessagesControllerTelegraph, "ia", XC_MethodReplacement.returnConstant(false));
}
Class<?> MessagesControllerTelegraph2 = XposedHelpers.findClassIfExists("org.telegram.messenger.hv", lpparam.classLoader);
if (MessagesControllerTelegraph2 != null) {
XposedBridge.hookAllMethods(MessagesControllerTelegraph2, "D", XC_MethodReplacement.returnConstant(false));
}
Class<?> UserConfigTelegraph = XposedHelpers.findClassIfExists("org.telegram.messenger.by0", lpparam.classLoader);
Class<?> UserConfigTelegraph = XposedHelpers.findClassIfExists("org.telegram.messenger.py0", lpparam.classLoader);
if (UserConfigTelegraph != null) {
XposedBridge.hookAllMethods(UserConfigTelegraph, "N", XC_MethodReplacement.returnConstant(true));
}
Expand Down

0 comments on commit c96abdb

Please sign in to comment.