diff options
| author | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-02-15 15:03:27 +0200 |
|---|---|---|
| committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-02-15 15:03:27 +0200 |
| commit | a8afd345a0ad36eda4b9edb0664004dbdd0b2082 (patch) | |
| tree | a8652729b881eebda76809f5e95270d24a9127e1 /indra/newview/llconversationmodel.cpp | |
| parent | d6a4504cd86de0ffa86c7b0341f729e913b1a15e (diff) | |
SL-10351 Cleanup
Diffstat (limited to 'indra/newview/llconversationmodel.cpp')
| -rw-r--r-- | indra/newview/llconversationmodel.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/indra/newview/llconversationmodel.cpp b/indra/newview/llconversationmodel.cpp index c715815208..c258136889 100644 --- a/indra/newview/llconversationmodel.cpp +++ b/indra/newview/llconversationmodel.cpp @@ -602,24 +602,6 @@ bool LLConversationItemParticipant::isVoiceMuted() return mIsModeratorMuted || LLMuteList::getInstance()->isMuted(mUUID, LLMute::flagVoiceChat); } -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(), LLMute::flagVoiceChat); - - LLMute mute(mUUID, av_name.getUserName(), LLMute::AGENT); - if (voice_already_muted && !mute_voice) - { - mute_listp->remove(mute, LLMute::flagVoiceChat); - } - else if (!voice_already_muted && mute_voice) - { - mute_listp->add(mute, LLMute::flagVoiceChat); - } -} - // // LLConversationSort // |
