From a7e1bebf08aa77e18f367c8b97c7c3d92d2a1d4e Mon Sep 17 00:00:00 2001 From: Ansariel Date: Mon, 2 Feb 2015 15:47:32 +0100 Subject: [PATCH] Only show icons from system messages in P2P sessions --- indra/newview/fschathistory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/fschathistory.cpp b/indra/newview/fschathistory.cpp index fa8f56f809..8037dd7623 100644 --- a/indra/newview/fschathistory.cpp +++ b/indra/newview/fschathistory.cpp @@ -1299,8 +1299,8 @@ void FSChatHistory::appendMessage(const LLChat& chat, const LLSD &args, const LL } bool is_trusted = isContentTrusted(); - setContentTrusted(chat.mFromID.isNull()); // Set trusted content temporarily for system messages - setPlainText(use_plain_text_chat_history ? chat.mFromID.notNull() : false); + setContentTrusted(chat.mFromID.isNull() && is_p2p); // Set trusted content temporarily for system messages + setPlainText(use_plain_text_chat_history ? (chat.mFromID.notNull() && is_p2p) : false); appendText(message, prependNewLineState, body_message_params); // FIRE-8600: TAB out of chat history setContentTrusted(is_trusted); setPlainText(use_plain_text_chat_history);