diff options
Diffstat (limited to 'src/VencordNative.ts')
-rw-r--r-- | src/VencordNative.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VencordNative.ts b/src/VencordNative.ts index 4e34f3d..ed0686d 100644 --- a/src/VencordNative.ts +++ b/src/VencordNative.ts @@ -64,7 +64,7 @@ export default { resolveRedirect: (url: string) => invoke<string>(IpcEvents.OPEN_IN_APP__RESOLVE_REDIRECT, url), }, VoiceMessages: { - readRecording: () => invoke<Uint8Array | null>(IpcEvents.VOICE_MESSAGES_READ_RECORDING), + readRecording: (path: string) => invoke<Uint8Array | null>(IpcEvents.VOICE_MESSAGES_READ_RECORDING, path), } } }; |