summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAlexei Arabadji <aarabadji@productengine.com>2010-01-12 17:39:51 +0200
committerAlexei Arabadji <aarabadji@productengine.com>2010-01-12 17:39:51 +0200
commitfb7f1a5d2404c6d6e09d8b86dee4f3c71ce0342f (patch)
tree02ddb6fde148ba59cd1bd1022b7cffb19385db18 /indra/newview
parent94880f98fdcf3a2c7276e9f74f108ae35d9b3587 (diff)
fixed major EXT-3992 [BSI] No notification about capped messages,
replaced logging to obsolete LLFloaterChat with posting notification system message; --HG-- branch : product-engine
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewermessage.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index 2e4e1cf114..6322c7dd2d 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -1756,10 +1756,9 @@ void process_improved_im(LLMessageSystem *msg, void **user_data)
}
else if (from_id.isNull())
{
- // Messages from "Second Life" ID don't go to IM history
- // messages which should be routed to IM window come from a user ID with name=SYSTEM_NAME
- chat.mText = name + ": " + message;
- LLFloaterChat::addChat(chat, FALSE, FALSE);
+ LLSD args;
+ args["MESSAGE"] = message;
+ LLNotificationsUtil::add("SystemMessage", args);
}
else if (to_id.isNull())
{