From c4a3bee33562f607bbd56a420bfcb424e00f2f41 Mon Sep 17 00:00:00 2001 From: Alexei Arabadji Date: Thu, 18 Feb 2010 20:21:02 +0200 Subject: =?UTF-8?q?fixed=20major=20EXT-5493=20=E2=80=9CllInstantMessage=20?= =?UTF-8?q?sends=20message=20to=20"nearby=20chat"=20window,=20but=20not=20?= =?UTF-8?q?to=20toasts=20in=20viewer=E2=80=9D,=20made=20llInstantMessage?= =?UTF-8?q?=20logged=20into=20nearby=20chat=20window=20and=20nearby=20chat?= =?UTF-8?q?=20toast;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --HG-- branch : product-engine --- indra/newview/llviewermessage.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 8aa642bdb6..cf7fb8d7eb 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -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); } -- cgit v1.2.3