Fix for people setting object name to nothing so that you can still click in chat to find out who and where.
This commit is contained in:
@@ -3024,6 +3024,10 @@ void process_chat_from_simulator(LLMessageSystem *msg, void **user_data)
|
||||
LLViewerObject* chatter;
|
||||
|
||||
msg->getString("ChatData", "FromName", from_name);
|
||||
if (from_name.empty())
|
||||
{
|
||||
from_name = "(no name)";
|
||||
}
|
||||
chat.mFromName = from_name;
|
||||
|
||||
msg->getUUID("ChatData", "SourceID", from_id);
|
||||
|
||||
Reference in New Issue
Block a user