]> 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:43 +0000 (07:21 +0000)
src/mod/applications/mod_conference/mod_conference.c

index 7ca2215e627727599a2508eb1e4aa0e21f04f1bd..dc77c4312bd6dd75d3a21e0e828af17ece7f1a4c 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)) {