diff options
author | Steve Bennetts <steve@lindenlab.com> | 2009-11-24 15:05:13 -0800 |
---|---|---|
committer | Steve Bennetts <steve@lindenlab.com> | 2009-11-24 15:05:13 -0800 |
commit | fb26dd779613ea088e44fd5d85044698cf782ede (patch) | |
tree | e2908fb32ccc3c9d3b48cece2759b072aff86a62 /indra/newview/llimview.cpp | |
parent | 07a396e3119af7dd3cd56f64e066c70f8aa1b5bd (diff) | |
parent | 9e2d78aca1fa96e96b4b324cabfb0efeb26f7397 (diff) |
Merge
Diffstat (limited to 'indra/newview/llimview.cpp')
-rw-r--r-- | indra/newview/llimview.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index c066f1f77a..ffa943092f 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -71,6 +71,7 @@ #include "llviewermessage.h" #include "llviewerwindow.h" #include "llnotify.h" +#include "llnearbychat.h" #include "llviewerregion.h" #include "llvoicechannel.h" #include "lltrans.h" @@ -1611,6 +1612,12 @@ void LLIMMgr::addSystemMessage(const LLUUID& session_id, const std::string& mess LLChat chat(message); chat.mSourceType = CHAT_SOURCE_SYSTEM; LLFloaterChat::addChatHistory(chat); + + LLNearbyChat* nearby_chat = LLFloaterReg::getTypedInstance<LLNearbyChat>("nearby_chat", LLSD()); + if(nearby_chat) + { + nearby_chat->addMessage(chat); + } } else // going to IM session { |