[FIX] mail: fix the filter video option in video calls
During the refactoring of discuss in 16.3, the setting to filter the videos was wrongly observed on the settings instead of the channel. This commit fixes this issue. closes odoo/odoo#122605 X-original-commit: 00f55c6f925fa02cd292549498643f5415392a9f Signed-off-by: Stockbauer Matthieu (tsm) <tsm@odoo.com> Signed-off-by: Thanh Dodeur (tso) <tso@odoo.com>
This commit is contained in:
@@ -75,7 +75,7 @@ export class Call extends Component {
|
||||
const raisingHandCards = [];
|
||||
const sessionCards = [];
|
||||
const invitationCards = [];
|
||||
const filterVideos = this.userSettings.showOnlyVideo && this.props.thread.videoCount > 0;
|
||||
const filterVideos = this.props.thread.showOnlyVideo && this.props.thread.videoCount > 0;
|
||||
for (const session of Object.values(this.props.thread.rtcSessions)) {
|
||||
if (!filterVideos || session.videoStream) {
|
||||
const data = {
|
||||
|
||||
Reference in New Issue
Block a user