Don't send busy respond message when to_id is null, it will confuse the respondee

This commit is contained in:
Lirusaito
2013-07-18 10:14:29 -04:00
parent 080b807e38
commit 813bb5cc7f

View File

@@ -2230,7 +2230,7 @@ void process_improved_im(LLMessageSystem *msg, void **user_data)
{
if (!gIMMgr->hasSession(session_id) || gSavedPerAccountSettings.getBOOL("AscentInstantMessageResponseRepeat"))
{
busy_message(msg, from_id);
if (to_id.notNull()) busy_message(msg, from_id);
}
// now store incoming IM in chat history