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-enginemeow-7.2.2
parent
7238ce8345
commit
b2f6cab24f
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue