diff options
| author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2015-04-21 11:48:51 +0300 | 
|---|---|---|
| committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2015-04-21 11:48:51 +0300 | 
| commit | 48bc511e59d5f9f15cbd1344c05fdc61d94365bb (patch) | |
| tree | 8435c904a305b94b8638d66d3a460c3e14c2ed28 | |
| parent | 2b9be2ac8c046fac069b20cf110b14ceb5f43d89 (diff) | |
MAINT-2567 FIXED Don't show any notification if message is actually empty.
| -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); +		} +  	}  }  | 
