diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp index 7bd4ce23de..4ef00f9c73 100644 --- a/indra/newview/llavataractions.cpp +++ b/indra/newview/llavataractions.cpp @@ -563,7 +563,7 @@ void LLAvatarActions::teleport_request_callback(const LLSD& notification, const std::string strMessage = response["message"]; // Filter the request message if the recipients is IM-blocked - if ( (!RlvActions::isRlvEnabled()) || ((RlvActions::canStartIM(idRecipient)) && (RlvActions::canSendIM(idRecipient))) ) + if ( (RlvActions::isRlvEnabled()) && ((!RlvActions::canStartIM(idRecipient)) || (!RlvActions::canSendIM(idRecipient))) ) { strMessage = RlvStrings::getString(RLV_STRING_HIDDEN); }