FS-8545 do not allow video floor on a member with a reservation id set
This commit is contained in:
parent
420a78afc4
commit
fb8d4a2b99
|
@ -3218,6 +3218,11 @@ void conference_video_set_floor_holder(conference_obj_t *conference, conference_
|
|||
conference_utils_clear_flag(conference, CFLAG_VID_FLOOR_LOCK);
|
||||
}
|
||||
|
||||
if (member && member->video_reservation_id) {
|
||||
/* no video floor when a reservation id is set */
|
||||
return;
|
||||
}
|
||||
|
||||
if ((!force && conference_utils_test_flag(conference, CFLAG_VID_FLOOR_LOCK))) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue