mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-05 04:35:46 +00:00
fix missing paren in logic for hard mute enter muted mode
This commit is contained in:
parent
3c1ad1f014
commit
30e793a7ef
@ -9278,7 +9278,7 @@ SWITCH_STANDARD_APP(conference_function)
|
|||||||
if (flags_str) {
|
if (flags_str) {
|
||||||
set_mflags(flags_str,&mflags);
|
set_mflags(flags_str,&mflags);
|
||||||
|
|
||||||
if (!(mflags & MFLAG_CAN_SPEAK) && (mflags & MFLAG_INDICATE_MUTE)) {
|
if (!((mflags & MFLAG_CAN_SPEAK) && (mflags & MFLAG_INDICATE_MUTE))) {
|
||||||
switch_core_media_hard_mute(session, SWITCH_TRUE);
|
switch_core_media_hard_mute(session, SWITCH_TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -9579,7 +9579,7 @@ SWITCH_STANDARD_APP(conference_function)
|
|||||||
set_mflags(flags_str, &mflags);
|
set_mflags(flags_str, &mflags);
|
||||||
mflags |= MFLAG_RUNNING;
|
mflags |= MFLAG_RUNNING;
|
||||||
|
|
||||||
if (!(mflags & MFLAG_CAN_SPEAK) && (mflags & MFLAG_INDICATE_MUTE)) {
|
if (!((mflags & MFLAG_CAN_SPEAK) && (mflags & MFLAG_INDICATE_MUTE))) {
|
||||||
switch_core_media_hard_mute(member.session, SWITCH_TRUE);
|
switch_core_media_hard_mute(member.session, SWITCH_TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user