Skip to content

Commit

Permalink
fix: 忽略限免批量订阅限制 失效
Browse files Browse the repository at this point in the history
Signed-off-by: xihan123 <srxqzxs@vip.qq.com>
  • Loading branch information
xihan123 committed Jan 18, 2024
1 parent 31d2fb6 commit 14e2447
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/src/main/kotlin/cn/xihan/qdds/HookEntry.kt
Expand Up @@ -466,7 +466,10 @@ fun PackageParam.ignoreFreeSubscribeLimit(versionCode: Int, bridge: DexKitBridge
returnType = IntType
}.hook().before {
val jb = args[1].safeCast<JSONObject>()
jb?.optJSONObject("Data")?.put("IsFreeLimit", -1)
jb?.optJSONObject("Data")?.apply {
put("BoolBatchSubscribe", true)
put("IsFreeLimit", -1)
}
args(1).set(jb)
}
}
Expand Down

0 comments on commit 14e2447

Please sign in to comment.