From edfc5295e9aa7b9e7f76ab0523f73186a7d2ad9a Mon Sep 17 00:00:00 2001 From: hd Date: Sun, 26 Apr 2026 08:11:24 +0800 Subject: [PATCH] Fix original method invocation argument spreading --- .../src/main/kotlin/org/matrix/vector/impl/hooks/BaseInvoker.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xposed/src/main/kotlin/org/matrix/vector/impl/hooks/BaseInvoker.kt b/xposed/src/main/kotlin/org/matrix/vector/impl/hooks/BaseInvoker.kt index 013d57914..c800fd89a 100644 --- a/xposed/src/main/kotlin/org/matrix/vector/impl/hooks/BaseInvoker.kt +++ b/xposed/src/main/kotlin/org/matrix/vector/impl/hooks/BaseInvoker.kt @@ -30,7 +30,7 @@ internal abstract class BaseInvoker, U : Executable>( return when (val currentType = type) { is Invoker.Type.Origin -> { try { - HookBridge.invokeOriginalMethod(executable, thisObject, args) + HookBridge.invokeOriginalMethod(executable, thisObject, *args) } catch (e: InvocationTargetException) { throw e.cause ?: e }