FIRE-1062 & FIRE-561: Fixed all object chat showing as "(no name)"

Kadah 2011-05-19 11:40:46 -07:00
parent f35998d87c
commit abee00a242
1 changed files with 1 additions and 1 deletions

View File

@ -3430,7 +3430,7 @@ void process_chat_from_simulator(LLMessageSystem *msg, void **user_data)
{
//chat.mFromName = from_name;
// objects with no name get renamed to NO_NAME_OBJECT so the object profile is still accessable - KC
static const boost::regex whitespace_exp("\\s*");
static const boost::regex whitespace_exp("^\\s*$");
if (chat.mSourceType == CHAT_SOURCE_OBJECT && boost::regex_search(from_name, whitespace_exp))
{
chat.mFromName = NO_NAME_OBJECT;