From faa545fefcc25791537c5de38a22db85aea3499e Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Mon, 6 Sep 2010 16:11:24 -0700 Subject: Made 'notify when currency spent or received' also chat the message --- linden/indra/newview/llviewermessage.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp index 45fd772..4cf9c87 100755 --- a/linden/indra/newview/llviewermessage.cpp +++ b/linden/indra/newview/llviewermessage.cpp @@ -4911,6 +4911,10 @@ void process_money_balance_reply( LLMessageSystem* msg, void** ) args["MESSAGE"] = desc; LLNotifications::instance().add("SystemMessage", args); + // Also send notification to chat -- MC + LLChat chat(desc); + LLFloaterChat::addChat(desc); + // Once the 'recent' container gets large enough, chop some // off the beginning. const U32 MAX_LOOKBACK = 30; -- cgit v1.1