Fix AltKrispSwitch
This commit is contained in:
parent
543112783b
commit
4a6c0cb3e9
1 changed files with 2 additions and 3 deletions
|
|
@ -20,12 +20,11 @@ export default definePlugin({
|
|||
}
|
||||
}
|
||||
],
|
||||
shouldCancelSuppression([enableKrisp, { section: origin }]) {
|
||||
if (origin === "Noise Cancellation Popout") {
|
||||
shouldCancelSuppression([enableKrisp, options]) {
|
||||
if (options?.section === "Noise Cancellation Popout") {
|
||||
if (enableKrisp) {
|
||||
return false;
|
||||
} else {
|
||||
// don't enable standard noise suppression if disabling
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue