Skip to content

Commit

Permalink
Remove hook sponsored messages
Browse files Browse the repository at this point in the history
  • Loading branch information
JeelsBoobz committed Dec 25, 2022
1 parent 7eb1be6 commit 10666d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 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,10 +59,6 @@ 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<?> SponsoredTelegraph = XposedHelpers.findClassIfExists("org.telegram.ui.bj", lpparam.classLoader);
if (SponsoredTelegraph != null) {
XposedBridge.hookAllMethods(SponsoredTelegraph, "vp", XC_MethodReplacement.returnConstant(null));
}
Class<?> MessagesControllerTelegraph = XposedHelpers.findClassIfExists("org.telegram.messenger.g70", lpparam.classLoader);
if (MessagesControllerTelegraph != null) {
XposedBridge.hookAllMethods(MessagesControllerTelegraph, "c9", XC_MethodReplacement.returnConstant(false));
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.2
appVerCode=102
appVerName=v1.0.3
appVerCode=103

0 comments on commit 10666d7

Please sign in to comment.