From 9e3bbdd10cbf94674037abb4fb4f0aaf4c7997f1 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 28 Mar 2018 10:10:31 -0500 Subject: [PATCH] FS-11068: [mod_conference] Avatar members not supported on personal canvas leading to miscount #resolve --- src/mod/applications/mod_conference/mod_conference.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 7ca2215e62..dc77c4312b 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -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)) {