diff options
author | McCabe Maxsted | 2010-09-06 16:11:24 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-09-06 16:11:24 -0700 |
commit | faa545fefcc25791537c5de38a22db85aea3499e (patch) | |
tree | ecdc9e85223db2c62bf51e49a1ac7f3c9ea0054d | |
parent | Removed some duplicate menu cruft (diff) | |
download | meta-impy-faa545fefcc25791537c5de38a22db85aea3499e.zip meta-impy-faa545fefcc25791537c5de38a22db85aea3499e.tar.gz meta-impy-faa545fefcc25791537c5de38a22db85aea3499e.tar.bz2 meta-impy-faa545fefcc25791537c5de38a22db85aea3499e.tar.xz |
Made 'notify when currency spent or received' also chat the message
-rwxr-xr-x | linden/indra/newview/llviewermessage.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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** ) | |||
4911 | args["MESSAGE"] = desc; | 4911 | args["MESSAGE"] = desc; |
4912 | LLNotifications::instance().add("SystemMessage", args); | 4912 | LLNotifications::instance().add("SystemMessage", args); |
4913 | 4913 | ||
4914 | // Also send notification to chat -- MC | ||
4915 | LLChat chat(desc); | ||
4916 | LLFloaterChat::addChat(desc); | ||
4917 | |||
4914 | // Once the 'recent' container gets large enough, chop some | 4918 | // Once the 'recent' container gets large enough, chop some |
4915 | // off the beginning. | 4919 | // off the beginning. |
4916 | const U32 MAX_LOOKBACK = 30; | 4920 | const U32 MAX_LOOKBACK = 30; |