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 }