Fix single line profile button for Group IMs started by others

This commit is contained in:
Lirusaito
2019-07-23 02:29:34 -04:00
parent 0f24c79ce9
commit bf10ab4bb1

View File

@@ -1122,7 +1122,7 @@ void LLFloaterIMPanel::onFlyoutCommit(LLComboBox* flyout, const LLSD& value)
switch (mSessionType)
{
case SUPPORT_SESSION:
case GROUP_SESSION: LLGroupActions::show(mOtherParticipantUUID); return;
case GROUP_SESSION: LLGroupActions::show(mSessionUUID); return;
case P2P_SESSION: LLAvatarActions::showProfile(mOtherParticipantUUID); return;
default: onClickHistory(); return; // If there's no profile for this type, we should be the history button.
}