]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Restoring commit lost in mod_conference refactor.
authorChad Phillips <chad@apartmentlines.com>
Tue, 21 Jul 2015 04:16:21 +0000 (21:16 -0700)
committerChad Phillips <chad@apartmentlines.com>
Tue, 21 Jul 2015 04:36:17 +0000 (21:36 -0700)
Commit c49f87313ad3d6c65d0a68c80763822772c42cbd, which added a vmute
option to the conference member flags, was somehow lost in the
mod_conference refactor. This commit restores the lost code.

FS-7813 #resolve

src/mod/applications/mod_conference/conference_utils.c

index ecaf0b6e6f5725b49c571e22a0bd2b9dbcadb9ef..b28fedf6d3e664c0b9697fe5d8d30692dbb8b86a 100644 (file)
@@ -107,6 +107,8 @@ void conference_utils_set_mflags(const char *flags, member_flag_t *f)
                        if (!strcasecmp(argv[i], "mute")) {
                                f[MFLAG_CAN_SPEAK] = 0;
                                f[MFLAG_TALKING] = 0;
+            } else if (!strcasecmp(argv[i], "vmute")) {
+                f[MFLAG_CAN_BE_SEEN] = 0;
                        } else if (!strcasecmp(argv[i], "deaf")) {
                                f[MFLAG_CAN_HEAR] = 0;
                        } else if (!strcasecmp(argv[i], "mute-detect")) {