CHUI-589 (Conversation floater displays wrong IM floater when receiving a new message)
additional fixmeow-7.2.2
parent
9c145d88a6
commit
e90bd165c8
|
|
@ -101,16 +101,6 @@ void LLFloaterIMContainer::sessionAdded(const LLUUID& session_id, const std::str
|
|||
{
|
||||
addConversationListItem(session_id);
|
||||
LLFloaterIMSessionTab::addToHost(session_id);
|
||||
|
||||
// If session was added while floater is not visible, conversation should not change
|
||||
if (!isVisible(this))
|
||||
{
|
||||
LLFloaterIMSessionTab* session_floater = LLFloaterIMSessionTab::getConversation(mSelectedSession);
|
||||
if (session_floater->getHost())
|
||||
{
|
||||
selectFloater(session_floater);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void LLFloaterIMContainer::sessionActivated(const LLUUID& session_id, const std::string& name, const LLUUID& other_participant_id)
|
||||
|
|
|
|||
|
|
@ -167,7 +167,7 @@ void LLFloaterIMSessionTab::addToHost(const LLUUID& session_id)
|
|||
if (!conversp->isNearbyChat()
|
||||
|| gSavedSettings.getBOOL("NearbyChatIsNotTornOff"))
|
||||
{
|
||||
floater_container->addFloater(conversp, !floater_container->getVisible(), LLTabContainer::RIGHT_OF_CURRENT);
|
||||
floater_container->addFloater(conversp, false, LLTabContainer::RIGHT_OF_CURRENT);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue