diff options
Diffstat (limited to 'indra/newview/llimview.cpp')
| -rw-r--r-- | indra/newview/llimview.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index 7074c65699..ec5fb06a40 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -24,9 +24,12 @@ * $/LicenseInfo$ */ +#include <array> + #include "llviewerprecompiledheaders.h" #include "llimview.h" +#include "llviewermcp.h" #include "llavatarnamecache.h" // IDEVO #include "llchatservicehistory.h" @@ -3258,6 +3261,7 @@ void LLIMMgr::addMessage( std::string_view display_name, const LLSD& original_text) { + LLViewerMCP::noteChat("im", from, target_id, msg); LLUUID other_participant_id = target_id; std::string message_display_name = (display_name.empty()) ? from : std::string(display_name); @@ -3318,6 +3322,7 @@ void LLIMMgr::addMessage( if (session) { skip_message &= !session->isGroupSessionType(); // Do not skip group chats... + skip_message |= LLMuteList::getInstance()->isMuted(LLUUID::null, std::string{"Group:" + new_session_id.asString()}); // unless the group is muted. if (skip_message) { gIMMgr->leaveSession(new_session_id); |
