diff --git a/app/src/main/java/io/github/memory2314/hook/RemoveShareLimit.kt b/app/src/main/java/io/github/memory2314/hook/RemoveShareLimit.kt index e33929ed5e..6dcee8d0a8 100644 --- a/app/src/main/java/io/github/memory2314/hook/RemoveShareLimit.kt +++ b/app/src/main/java/io/github/memory2314/hook/RemoveShareLimit.kt @@ -48,8 +48,8 @@ object RemoveShareLimit : CommonSwitchFunctionHook() { val forwardTargetKey = XposedHelpers.callMethod( param.thisObject, "getForwardTargetKey", - resultRecord.get("uin"), - XposedHelpers.callMethod(resultRecord, "getUinType") + arrayOf(String::class.java, Int::class.java), + resultRecord.get("uin"), XposedHelpers.callMethod(resultRecord, "getUinType") ) val mForwardTargetMap = param.thisObject.get("mForwardTargetMap") as MutableMap mForwardTargetMap[forwardTargetKey] = XposedHelpers.callMethod(resultRecord, "copyResultRecord", resultRecord)