Skip to content

Commit

Permalink
Update to support Telegraph T10.3.2 - P11.4.0M
Browse files Browse the repository at this point in the history
  • Loading branch information
JeelsBoobz committed Dec 16, 2023
1 parent 5d97c66 commit c06ff17
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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 @@ -61,15 +61,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.hb0", lpparam.classLoader);
Class<?> MessagesControllerTelegraph = XposedHelpers.findClassIfExists("org.telegram.messenger.ub0", lpparam.classLoader);
if (MessagesControllerTelegraph != null) {
XposedBridge.hookAllMethods(MessagesControllerTelegraph, "ha", XC_MethodReplacement.returnConstant(false));
XposedBridge.hookAllMethods(MessagesControllerTelegraph, "va", XC_MethodReplacement.returnConstant(false));
}
Class<?> MessagesControllerTelegraph2 = XposedHelpers.findClassIfExists("org.telegram.messenger.kv", lpparam.classLoader);
Class<?> MessagesControllerTelegraph2 = XposedHelpers.findClassIfExists("org.telegram.messenger.lv", lpparam.classLoader);
if (MessagesControllerTelegraph2 != null) {
XposedBridge.hookAllMethods(MessagesControllerTelegraph2, "E", XC_MethodReplacement.returnConstant(false));
}
Class<?> UserConfigTelegraph = XposedHelpers.findClassIfExists("org.telegram.messenger.xy0", lpparam.classLoader);
Class<?> UserConfigTelegraph = XposedHelpers.findClassIfExists("org.telegram.messenger.kz0", lpparam.classLoader);
if (UserConfigTelegraph != null) {
XposedBridge.hookAllMethods(UserConfigTelegraph, "N", XC_MethodReplacement.returnConstant(true));
}
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true

appVerName=v1.1.9
appVerCode=119
appVerName=v1.2.0
appVerCode=120

0 comments on commit c06ff17

Please sign in to comment.