From ff88d003180fda1279062f0bb0877836ea7ac74e Mon Sep 17 00:00:00 2001 From: Ansariel Date: Fri, 17 Apr 2015 00:43:47 +0200 Subject: [PATCH] Transplant fix for MAINT-5020 early after I stumbled over it --- indra/newview/fschathistory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/fschathistory.cpp b/indra/newview/fschathistory.cpp index 9040890714..5105bf87c0 100644 --- a/indra/newview/fschathistory.cpp +++ b/indra/newview/fschathistory.cpp @@ -1063,7 +1063,7 @@ void FSChatHistory::appendMessage(const LLChat& chat, const LLSD &args, const LL // compact mode: show a timestamp and name if (use_plain_text_chat_history) { - square_brackets = (chat.mFromName == SYSTEM_FROM && gSavedSettings.getBOOL("FSIMSystemMessageBrackets")); + square_brackets = (chat.mSourceType == CHAT_SOURCE_SYSTEM && chat.mChatType != CHAT_TYPE_RADAR && gSavedSettings.getBOOL("FSIMSystemMessageBrackets")); LLStyle::Params timestamp_style(body_message_params);