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
meow-7.2.2
Alexei Arabadji 2010-03-10 19:24:56 +02:00
parent 7238ce8345
commit b2f6cab24f
1 changed files with 7 additions and 1 deletions

View File

@ -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
{