feat: add browser state for input handler

This commit is contained in:
Rohit
2025-03-12 16:59:16 +05:30
parent 22b640b8d7
commit 750cd11752

View File

@@ -56,7 +56,7 @@ const handleWrapper = async (
return;
}
const id = browserPool.getActiveBrowserId(userId);
const id = browserPool.getActiveBrowserId(userId, "recording");
if (id) {
const activeBrowser = browserPool.getRemoteBrowser(id);
if (activeBrowser?.interpreter.interpretationInProgress() && !activeBrowser.interpreter.interpretationIsPaused) {