diff options
author | Alexei Arabadji <aarabadji@productengine.com> | 2009-11-06 19:31:27 +0200 |
---|---|---|
committer | Alexei Arabadji <aarabadji@productengine.com> | 2009-11-06 19:31:27 +0200 |
commit | 8a4e36a9bdd94ebd183d1f315aa51c6c52d0abbd (patch) | |
tree | 6804aded3b2acfe856b2f222aebdec4923db3925 /indra/newview/llgroupactions.cpp | |
parent | 02608052592eb47aea7c8856e85d64aec086d658 (diff) |
fixed EXT-2295 "'Group Chat' btn makes chicklet appear only"
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llgroupactions.cpp')
-rw-r--r-- | indra/newview/llgroupactions.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llgroupactions.cpp b/indra/newview/llgroupactions.cpp index c46eedbef2..e60bde9fd8 100644 --- a/indra/newview/llgroupactions.cpp +++ b/indra/newview/llgroupactions.cpp @@ -43,6 +43,7 @@ #include "llimview.h" // for gIMMgr #include "llsidetray.h" #include "llstatusbar.h" // can_afford_transaction() +#include "llimfloater.h" // // Globals @@ -279,10 +280,14 @@ void LLGroupActions::startChat(const LLUUID& group_id) LLGroupData group_data; if (gAgent.getGroupData(group_id, group_data)) { - gIMMgr->addSession( + LLUUID session_id = gIMMgr->addSession( group_data.mName, IM_SESSION_GROUP_START, group_id); + if (session_id != LLUUID::null) + { + LLIMFloater::show(session_id); + } make_ui_sound("UISndStartIM"); } else |