summaryrefslogtreecommitdiff
path: root/indra/newview/llnotificationhandlerutil.cpp
diff options
context:
space:
mode:
authorAlexei Arabadji <aarabadji@productengine.com>2010-03-10 19:24:56 +0200
committerAlexei Arabadji <aarabadji@productengine.com>2010-03-10 19:24:56 +0200
commitb2f6cab24f9cf9edf9b33d0f0f59ca4dab1fb209 (patch)
tree3fcad9770fbf9e024bfacc266ead64b70336a0a3 /indra/newview/llnotificationhandlerutil.cpp
parent7238ce83456b70f64efd15ba522d95ed526f4827 (diff)
fixed EXT-5910 “Offers logging”,
replaced interactive system message marker with correct from string value when message logged without adding to the session; --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llnotificationhandlerutil.cpp')
-rw-r--r--indra/newview/llnotificationhandlerutil.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/llnotificationhandlerutil.cpp b/indra/newview/llnotificationhandlerutil.cpp
index 8fb875ee1f..554b67c47d 100644
--- a/indra/newview/llnotificationhandlerutil.cpp
+++ b/indra/newview/llnotificationhandlerutil.cpp
@@ -214,7 +214,13 @@ void LLHandlerUtil::logToIM(const EInstantMessage& session_type,
session_id);
if (session == NULL)
{
- LLIMModel::instance().logToFile(session_name, from_name, from_id, message);
+ // replace interactive system message marker with correct from string value
+ std::string from = from_name;
+ if (INTERACTIVE_SYSTEM_FROM == from_name)
+ {
+ from = SYSTEM_FROM;
+ }
+ LLIMModel::instance().logToFile(session_name, from, from_id, message);
}
else
{