From a6e3e80eb5a9307c10b7f57a1a2cd332cbee900f Mon Sep 17 00:00:00 2001 From: Ansariel Date: Tue, 22 Oct 2013 19:18:56 +0200 Subject: [PATCH] FIRE-11944: Nearby chat logging broken as per 38792 --- indra/newview/fsfloaternearbychat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/fsfloaternearbychat.cpp b/indra/newview/fsfloaternearbychat.cpp index e733ced6f5..5c1827456c 100644 --- a/indra/newview/fsfloaternearbychat.cpp +++ b/indra/newview/fsfloaternearbychat.cpp @@ -298,7 +298,7 @@ void FSFloaterNearbyChat::addMessage(const LLChat& chat,bool archive,const LLSD // FS:LO FIRE-5230 - Chat Console Improvement: Replacing the "IM" in front of group chat messages with the actual group name } // Make logging IMs to the chat history file toggleable again - if ((chat.mChatType == CHAT_TYPE_IM || chat.mChatType == CHAT_TYPE_IM_GROUP) && gSavedSettings.getBOOL("FSLogIMInChatHistory")) + if (!(chat.mChatType == CHAT_TYPE_IM || chat.mChatType == CHAT_TYPE_IM_GROUP) || gSavedSettings.getBOOL("FSLogIMInChatHistory")) { LLLogChat::saveHistory("chat", from_name, chat.mFromID, chat.mText); }