]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-11068: [mod_conference] Avatar members not supported on personal canvas leading...
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 28 Mar 2018 15:10:31 +0000 (10:10 -0500)
committerMuteesa Fred <muteesafred@hotmail.com>
Tue, 24 Jul 2018 07:21:46 +0000 (07:21 +0000)
src/mod/applications/mod_conference/mod_conference.c

index 995f1ef3077e7857fb27b6cc1981b526aef13bfa..6026d63fa8824f6cf7c3cac7d9cab30cbc798d96 100644 (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)) {