Pull and merge from ssh://stinson@hg.lindenlab.com/richard/viewer-chui/.
commit
f3ede9d46c
|
|
@ -1113,6 +1113,9 @@ void LLIMFloaterContainer::setItemSelect(const LLUUID& session_id)
|
|||
mSelectedSession = session_id;
|
||||
LLFolderViewItem* widget = mConversationsWidgets[session_id];
|
||||
(widget->getRoot())->setSelection(widget, FALSE, FALSE);
|
||||
|
||||
// Scroll to selected item
|
||||
mConversationsRoot->scrollToShowSelection();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1228,6 +1231,9 @@ void LLIMFloaterContainer::addConversationListItem(const LLUUID& uuid, bool isWi
|
|||
// set the widget to minimized mode if conversations pane is collapsed
|
||||
widget->toggleMinimizedMode(mConversationsPane->isCollapsed());
|
||||
|
||||
// scroll to newly added item
|
||||
mConversationsRoot->scrollToShowSelection();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -533,8 +533,8 @@ void LLSpeakerMgr::updateSpeakerList()
|
|||
LLIMModel::LLIMSession* session = LLIMModel::getInstance()->findIMSession(session_id);
|
||||
for (uuid_vec_t::iterator it = session->mInitialTargetIDs.begin();it!=session->mInitialTargetIDs.end();++it)
|
||||
{
|
||||
// We only add avatars that are on line
|
||||
if (LLAvatarTracker::instance().isBuddyOnline(*it))
|
||||
// Allow to set buddies if they are on line. Allow any other avatar.
|
||||
if (!LLAvatarTracker::instance().isBuddy(*it) || LLAvatarTracker::instance().isBuddyOnline(*it))
|
||||
{
|
||||
setSpeaker(*it, "", LLSpeaker::STATUS_VOICE_ACTIVE, LLSpeaker::SPEAKER_AGENT);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue