fixed major EXT-5493 “llInstantMessage sends message to "nearby chat" window,

but not to toasts in viewer”,
made llInstantMessage logged into nearby chat window and nearby chat toast;

--HG--
branch : product-engine
meow-7.2.2
Alexei Arabadji 2010-02-18 20:21:02 +02:00
parent 5e26566f48
commit c4a3bee335
1 changed files with 2 additions and 1 deletions

View File

@ -2212,7 +2212,8 @@ void process_improved_im(LLMessageSystem *msg, void **user_data)
LLSD args;
args["owner_id"] = from_id;
args["slurl"] = location;
nearby_chat->addMessage(chat, true, args);
args["type"] = LLNotificationsUI::NT_NEARBYCHAT;
LLNotificationsUI::LLNotificationManager::instance().onChat(chat, args);
}