diff options
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/newview/llfloaterchat.cpp | 6 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/panel_preferences_im.xml | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/linden/indra/newview/llfloaterchat.cpp b/linden/indra/newview/llfloaterchat.cpp index a626ad3..14f9a10 100644 --- a/linden/indra/newview/llfloaterchat.cpp +++ b/linden/indra/newview/llfloaterchat.cpp | |||
@@ -385,7 +385,11 @@ void LLFloaterChat::addChat(const LLChat& chat, | |||
385 | text_color = gSavedSettings.getColor("IMChatColor"); | 385 | text_color = gSavedSettings.getColor("IMChatColor"); |
386 | size = INSTANT_MSG_SIZE; | 386 | size = INSTANT_MSG_SIZE; |
387 | } | 387 | } |
388 | gConsole->addLine(chat.mText, size, text_color); | 388 | // We display anything if it's not an IM. If it's an IM, check pref... |
389 | if ( !from_instant_message || gSavedSettings.getBOOL("IMInChatHistory") ) | ||
390 | { | ||
391 | gConsole->addLine(chat.mText, size, text_color); | ||
392 | } | ||
389 | } | 393 | } |
390 | 394 | ||
391 | if(from_instant_message && gSavedPerAccountSettings.getBOOL("LogChatIM")) | 395 | if(from_instant_message && gSavedPerAccountSettings.getBOOL("LogChatIM")) |
diff --git a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_im.xml b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_im.xml index d3174af..8020e9a 100644 --- a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_im.xml +++ b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_im.xml | |||
@@ -28,7 +28,7 @@ | |||
28 | width="350" /> | 28 | width="350" /> |
29 | <check_box bottom="-65" control_name="IMInChatHistory" enabled="true" follows="left|top" | 29 | <check_box bottom="-65" control_name="IMInChatHistory" enabled="true" follows="left|top" |
30 | font="SansSerifSmall" height="16" initial_value="false" | 30 | font="SansSerifSmall" height="16" initial_value="false" |
31 | label="Include IM in Local Chat" left="148" mouse_opaque="true" | 31 | label="Show IMs with Chat" left="148" mouse_opaque="true" |
32 | name="include_im_in_chat_history" radio_style="false" width="237" /> | 32 | name="include_im_in_chat_history" radio_style="false" width="237" /> |
33 | <check_box bottom="-85" control_name="IMShowTimestamps" enabled="true" follows="left|top" | 33 | <check_box bottom="-85" control_name="IMShowTimestamps" enabled="true" follows="left|top" |
34 | font="SansSerifSmall" height="16" initial_value="false" | 34 | font="SansSerifSmall" height="16" initial_value="false" |