summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorYuri Chebotarev <ychebotarev@productengine.com>2009-10-30 14:29:13 +0200
committerYuri Chebotarev <ychebotarev@productengine.com>2009-10-30 14:29:13 +0200
commit0a6f3fadcf97d1055a5cf78ee9917469b22ea094 (patch)
treef5cdc24250b49e51441c9ab7479da22c4d4a075e /indra
parent07dabef250596a68328fdadad4ba41b62d9b482b (diff)
fix normal bug EXT-1861 IM from Object to appear in Nearby Chat
--HG-- branch : product-engine
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llnearbychathandler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llnearbychathandler.cpp b/indra/newview/llnearbychathandler.cpp
index 6b0d6d61e0..1668a6d999 100644
--- a/indra/newview/llnearbychathandler.cpp
+++ b/indra/newview/llnearbychathandler.cpp
@@ -326,6 +326,12 @@ void LLNearbyChatHandler::processChat(const LLChat& chat_msg)
initChannel();
}
+ //only messages from AGENTS
+ if(CHAT_SOURCE_OBJECT == chat_msg.mSourceType)
+ {
+ return;//dn't show toast for messages from objects
+ }
+
LLUUID id;
id.generate();