summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloaterimcontainer.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/indra/newview/llfloaterimcontainer.cpp b/indra/newview/llfloaterimcontainer.cpp
index 54e5085490..5a284cc7b7 100644
--- a/indra/newview/llfloaterimcontainer.cpp
+++ b/indra/newview/llfloaterimcontainer.cpp
@@ -1118,19 +1118,18 @@ void LLFloaterIMContainer::doToSelected(const LLSD& userdata)
void LLFloaterIMContainer::doToSelectedGroup(const LLSD& userdata)
{
std::string action = userdata.asString();
- LLUUID selected_group = getCurSelectedViewModelItem()->getUUID();
if (action == "group_profile")
{
- LLGroupActions::show(selected_group);
+ LLGroupActions::show(mSelectedSession);
}
else if (action == "activate_group")
{
- LLGroupActions::activate(selected_group);
+ LLGroupActions::activate(mSelectedSession);
}
else if (action == "leave_group")
{
- LLGroupActions::leave(selected_group);
+ LLGroupActions::leave(mSelectedSession);
}
}