MAINT-1322 IMs from users with muted voice (but not text) should be received

master
AndreyL ProductEngine 2017-01-23 19:51:58 +02:00
parent b64fe9899d
commit e2bb0c170e
1 changed files with 1 additions and 1 deletions

View File

@ -2703,7 +2703,7 @@ void LLIMMgr::addMessage(
// Logically it would make more sense to reject the session sooner, in another area of the
// code, but the session has to be established inside the server before it can be left.
if (LLMuteList::getInstance()->isMuted(other_participant_id) && !from_linden)
if (LLMuteList::getInstance()->isMuted(other_participant_id, LLMute::flagTextChat) && !from_linden)
{
LL_WARNS() << "Leaving IM session from initiating muted resident " << from << LL_ENDL;
if(!gIMMgr->leaveSession(new_session_id))