Wooops, this belongs here, fix not online message translation not working
This commit is contained in:
@@ -2323,12 +2323,6 @@ void process_improved_im(LLMessageSystem *msg, void **user_data)
|
|||||||
return;
|
return;
|
||||||
// NaCl End
|
// NaCl End
|
||||||
|
|
||||||
// Singu TODO: LLIMProcessing goes here
|
|
||||||
if (chat.mSourceType == CHAT_SOURCE_SYSTEM)
|
|
||||||
{ // Translate server message if required (MAINT-6109)
|
|
||||||
translate_if_needed(message);
|
|
||||||
}
|
|
||||||
|
|
||||||
// make sure that we don't have an empty or all-whitespace name
|
// make sure that we don't have an empty or all-whitespace name
|
||||||
LLStringUtil::trim(name);
|
LLStringUtil::trim(name);
|
||||||
if (name.empty())
|
if (name.empty())
|
||||||
@@ -2368,6 +2362,12 @@ void process_improved_im(LLMessageSystem *msg, void **user_data)
|
|||||||
args["NAME"] = name;
|
args["NAME"] = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Singu TODO: LLIMProcessing goes here
|
||||||
|
if (chat.mSourceType == CHAT_SOURCE_SYSTEM)
|
||||||
|
{ // Translate server message if required (MAINT-6109)
|
||||||
|
translate_if_needed(message);
|
||||||
|
}
|
||||||
|
|
||||||
LLViewerObject *source = gObjectList.findObject(session_id); //Session ID is probably the wrong thing.
|
LLViewerObject *source = gObjectList.findObject(session_id); //Session ID is probably the wrong thing.
|
||||||
if (source || (source = gObjectList.findObject(from_id)))
|
if (source || (source = gObjectList.findObject(from_id)))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user