diff options
Diffstat (limited to 'indra')
| -rwxr-xr-x | indra/newview/llviewermessage.cpp | 14 | 
1 files changed, 9 insertions, 5 deletions
| diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 99c7673f85..a5a2a4d388 100755 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -3789,11 +3789,15 @@ void process_chat_from_simulator(LLMessageSystem *msg, void **user_data)  			}  		} -		LLSD msg_notify = LLSD(LLSD::emptyMap()); -		msg_notify["session_id"] = LLUUID(); -        msg_notify["from_id"] = chat.mFromID; -		msg_notify["source_type"] = chat.mSourceType; -        on_new_message(msg_notify); +		if (mesg != "") +		{ +			LLSD msg_notify = LLSD(LLSD::emptyMap()); +			msg_notify["session_id"] = LLUUID(); +			msg_notify["from_id"] = chat.mFromID; +			msg_notify["source_type"] = chat.mSourceType; +			on_new_message(msg_notify); +		} +  	}  } | 
