diff --git a/app/src/main/java/cc/microblock/hook/Pangu.kt b/app/src/main/java/cc/microblock/hook/Pangu.kt index 6f82a6199e..011d1fd7be 100644 --- a/app/src/main/java/cc/microblock/hook/Pangu.kt +++ b/app/src/main/java/cc/microblock/hook/Pangu.kt @@ -177,7 +177,7 @@ object SendPangu : CommonSwitchFunctionHook("sendMsgPangu", arrayOf(AIOTextEleme override fun initOnce(): Boolean { DexKit.requireMethodFromCache(AIOTextElementCtor) .hookBefore(this) { - val inputStrFieldName = if (requireMinQQVersion(QQVersion.QQ_9_0_65)) "e" else "a" + val inputStrFieldName = if (requireMinQQVersion(QQVersion.QQ_9_0_56)) "e" else "a" val content = it.args[0].get(inputStrFieldName) as String if (!content.startsWith(",,") && !content.startsWith(",,")) it.args[0].set(inputStrFieldName, processPangu(content))