Skip to content

Commit

Permalink
fix: RemoveShareLimit may throw ex
Browse files Browse the repository at this point in the history
  • Loading branch information
HdShare committed Nov 27, 2024
1 parent e7ebbf9 commit 882f5ee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<Any, Any?>
mForwardTargetMap[forwardTargetKey] = XposedHelpers.callMethod(resultRecord, "copyResultRecord", resultRecord)
Expand Down

0 comments on commit 882f5ee

Please sign in to comment.