MAINT-2567 FIXED Don't show any notification if message is actually empty.
parent
2b9be2ac8c
commit
48bc511e59
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue