Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

fix: register missing IPC handlers for dictation key and default hotkey

Gabriel Stein910773d23b6d
diff --git a/src/helpers/ipcHandlers.js b/src/helpers/ipcHandlers.js
index db2c54809..4c74c4d77 100644
--- a/src/helpers/ipcHandlers.js
+++ b/src/helpers/ipcHandlers.js
@@ -2309,6 +2309,14 @@ class IPCHandlers {
return this.environmentManager.saveDictationKey(key);
});
+ ipcMain.handle("get-active-dictation-key", async () => {
+ return this.windowManager?.hotkeyManager?.currentHotkey ?? null;
+ });
+
+ ipcMain.handle("get-effective-default-hotkey", async () => {
+ return this.windowManager?.hotkeyManager?.getEffectiveDefaultHotkey() ?? null;
+ });
+
ipcMain.handle("get-activation-mode", async () => {
return this.environmentManager.getActivationMode();
});