From: Anthony Minessale Date: Wed, 28 Mar 2018 15:10:31 +0000 (-0500) Subject: FS-11068: [mod_conference] Avatar members not supported on personal canvas leading... X-Git-Tag: v1.8.1~3^2~105 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8c3b3ab664ff4df2e55a62a4b124360fcb35ce6;p=thirdparty%2Ffreeswitch.git FS-11068: [mod_conference] Avatar members not supported on personal canvas leading to miscount #resolve --- diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 995f1ef307..6026d63fa8 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)) {