FS-8545 do not allow video floor on a member with a reservation id set

This commit is contained in:
Anthony Minessale 2015-11-18 13:37:52 -06:00
parent 420a78afc4
commit fb8d4a2b99
1 changed files with 5 additions and 0 deletions

View File

@ -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;
}