bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/nav-bar/talking-indicator/service.js

9 lines
178 B
JavaScript
Raw Normal View History

2021-10-08 22:57:26 +08:00
const nobodyTalking = (talkers) => {
const values = Object.values(talkers);
return values.every(({ talking }) => talking === false);
};
2019-11-20 23:08:36 +08:00
export default {
2021-10-08 22:57:26 +08:00
nobodyTalking,
2019-11-20 23:08:36 +08:00
};