- changed : llRegionSayTo messages are no longer subject to @recvchat(from) or @recvemote(from)

--HG--
branch : RLVa
meow-7.2.2
Kitty Barnett 2014-02-26 22:04:50 +01:00
parent 850fe0bc54
commit 98f6e435ad
1 changed files with 2 additions and 2 deletions

View File

@ -3835,10 +3835,10 @@ void process_chat_from_simulator(LLMessageSystem *msg, void **user_data)
// Filtering "rules":
// avatar => filter all avie text (unless it's this avie or they're an exemption)
// objects => filter everything except attachments this avie owns (never filter llOwnerSay chat)
// objects => filter everything except attachments this avie owns (never filter llOwnerSay or llRegionSayTo chat)
if ( ( (CHAT_SOURCE_AGENT == chat.mSourceType) && (from_id != gAgent.getID()) ) ||
( (CHAT_SOURCE_OBJECT == chat.mSourceType) && ((!is_owned_by_me) || (!is_attachment)) &&
(CHAT_TYPE_OWNER != chat.mChatType) ) )
(CHAT_TYPE_OWNER != chat.mChatType) && (CHAT_TYPE_DIRECT != chat.mChatType) ) )
{
bool fIsEmote = RlvUtil::isEmote(mesg);
if ((!fIsEmote) &&