FS-11068: [mod_conference] Avatar members not supported on personal canvas leading to miscount #resolve

This commit is contained in:
Anthony Minessale 2018-03-28 10:10:31 -05:00 committed by Muteesa Fred
parent 89770f4522
commit 9e3bbdd10c
1 changed files with 6 additions and 2 deletions

View File

@ -343,8 +343,12 @@ void *SWITCH_THREAD_FUNC conference_thread_run(switch_thread_t *thread, void *ob
members_seeing_video++;
}
if (imember->avatar_png_img && !switch_channel_test_flag(channel, CF_VIDEO)) {
members_with_avatar++;
if (!conference_utils_test_flag(conference, CFLAG_PERSONAL_CANVAS)) {
if (imember->avatar_png_img && !switch_channel_test_flag(channel, CF_VIDEO)) {
members_with_avatar++;
}
} else {
members_with_avatar = 0;
}
if (conference_utils_member_test_flag(imember, MFLAG_NOMOH)) {