From fe5e041db82aac7d2d975a7465e5441f05c8d97f Mon Sep 17 00:00:00 2001 From: V Date: Thu, 27 Jul 2023 01:56:45 +0200 Subject: VoiceMessages: Read file from dynamic path (fixes mac & linux support) --- src/VencordNative.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/VencordNative.ts') 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(IpcEvents.OPEN_IN_APP__RESOLVE_REDIRECT, url), }, VoiceMessages: { - readRecording: () => invoke(IpcEvents.VOICE_MESSAGES_READ_RECORDING), + readRecording: (path: string) => invoke(IpcEvents.VOICE_MESSAGES_READ_RECORDING, path), } } }; -- cgit