diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-01-20 15:59:05 -0500 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-01-20 15:59:05 -0500 |
commit | fd5ee757a5c9bb014fd021139e8b701a6007c9d0 (patch) | |
tree | b74be57b620d59a57abf7693eed56debd769b766 /indra/newview/llfloaterchat.cpp | |
parent | 362f288bc6c08f5f345b0b676ca5e3e1fae53c07 (diff) | |
parent | 5ca943cd0279d35ffdf584fa0de3b795645f276c (diff) |
viewer2.0->viewer2.0 merge
Diffstat (limited to 'indra/newview/llfloaterchat.cpp')
-rw-r--r-- | indra/newview/llfloaterchat.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/indra/newview/llfloaterchat.cpp b/indra/newview/llfloaterchat.cpp index c24c224133..cdb9b8edb8 100644 --- a/indra/newview/llfloaterchat.cpp +++ b/indra/newview/llfloaterchat.cpp @@ -311,7 +311,7 @@ void LLFloaterChat::onClickToggleShowMute(LLUICtrl* caller, void *data) } // Put a line of chat in all the right places -void LLFloaterChat::addChat(const LLChat& chat, BOOL from_instant_message, BOOL local_agent) +void LLFloaterChat::addChat(const LLChat& chat, BOOL local_agent) { triggerAlerts(chat.mText); @@ -321,19 +321,7 @@ void LLFloaterChat::addChat(const LLChat& chat, BOOL from_instant_message, BOOL //if(chat.mSourceType == CHAT_SOURCE_AGENT && chat.mFromID.notNull()) // LLRecentPeople::instance().add(chat.mFromID); - bool add_chat = true; - bool log_chat = true; - if(from_instant_message) - { - if (!gSavedSettings.getBOOL("IMInChat")) - add_chat = false; - //log_chat = false; -} - - if (add_chat) - { - addChatHistory(chat, log_chat); - } + addChatHistory(chat, true); } // Moved from lltextparser.cpp to break llui/llaudio library dependency. |