Skip to content

Commit

Permalink
ref: Simplify condition (jibri is always a recorder).
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrozev committed Feb 19, 2024
1 parent 5dfba31 commit 0dcf8e9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,6 @@ class CallPage(driver: RemoteWebDriver) : AbstractPageObject(driver) {
/**
* Javascript to apply a filter to the list of participants to exclude ones which should be hidden from jibri.
*/
const val PARTICIPANT_FILTER_SCRIPT =
"filter(p => !p.isHidden() || !(config.iAmRecorder && p.isHiddenFromRecorder()))"
const val PARTICIPANT_FILTER_SCRIPT = "filter(p => !(p.isHidden() && p.isHiddenFromRecorder()))"
}
}

0 comments on commit 0dcf8e9

Please sign in to comment.