Skip to content

Commit

Permalink
Update to support Telegraph T9.2.2-P10.5
Browse files Browse the repository at this point in the history
  • Loading branch information
JeelsBoobz committed Dec 27, 2022
1 parent 10666d7 commit 03a2646
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 @@ -59,13 +59,13 @@ 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.g70", lpparam.classLoader);
Class<?> MessagesControllerTelegraph = XposedHelpers.findClassIfExists("org.telegram.messenger.r70", lpparam.classLoader);
if (MessagesControllerTelegraph != null) {
XposedBridge.hookAllMethods(MessagesControllerTelegraph, "c9", XC_MethodReplacement.returnConstant(false));
XposedBridge.hookAllMethods(MessagesControllerTelegraph, "m9", XC_MethodReplacement.returnConstant(false));
}
Class<?> UserConfigTelegraph = XposedHelpers.findClassIfExists("org.telegram.messenger.mr0", lpparam.classLoader);
Class<?> UserConfigTelegraph = XposedHelpers.findClassIfExists("org.telegram.messenger.fs0", lpparam.classLoader);
if (UserConfigTelegraph != null) {
XposedBridge.hookAllMethods(UserConfigTelegraph, "H", XC_MethodReplacement.returnConstant(true));
XposedBridge.hookAllMethods(UserConfigTelegraph, "K", XC_MethodReplacement.returnConstant(true));
}
}
} catch (Throwable ignored) {
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.0.3
appVerCode=103
appVerName=v1.0.4
appVerCode=104

0 comments on commit 03a2646

Please sign in to comment.