summaryrefslogtreecommitdiff
path: root/indra/newview/llconversationmodel.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-02-11 17:40:41 +0200
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-02-11 17:40:41 +0200
commitb31cd0a7e927920fae820582fcff78078e6f3bfc (patch)
treeb3b9e79d4b04125f20a3737e23e4880e604db455 /indra/newview/llconversationmodel.cpp
parenteb1c3c5cbbbe687235dc7db2d527e04578ea1d54 (diff)
SL-10347 Fixed Users can't exchange text messages after moderator click on "Mute everyone"
Diffstat (limited to 'indra/newview/llconversationmodel.cpp')
-rw-r--r--indra/newview/llconversationmodel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llconversationmodel.cpp b/indra/newview/llconversationmodel.cpp
index ebbbf23dee..bea1f78284 100644
--- a/indra/newview/llconversationmodel.cpp
+++ b/indra/newview/llconversationmodel.cpp
@@ -605,16 +605,16 @@ void LLConversationItemParticipant::muteVoice(bool mute_voice)
LLAvatarName av_name;
LLAvatarNameCache::get(mUUID, &av_name);
LLMuteList * mute_listp = LLMuteList::getInstance();
- bool voice_already_muted = mute_listp->isMuted(mUUID, av_name.getUserName());
+ bool voice_already_muted = mute_listp->isMuted(mUUID, av_name.getUserName(), LLMute::flagVoiceChat);
LLMute mute(mUUID, av_name.getUserName(), LLMute::AGENT);
if (voice_already_muted && !mute_voice)
{
- mute_listp->remove(mute);
+ mute_listp->remove(mute, LLMute::flagVoiceChat);
}
else if (!voice_already_muted && mute_voice)
{
- mute_listp->add(mute);
+ mute_listp->add(mute, LLMute::flagVoiceChat);
}
}