Update typing indicator with selected name. Wire in function lost in merge.

meow-7.2.2
Tonya Souther 2013-07-07 08:51:37 -05:00
parent 688cca8a73
commit 29b87b1cdc
1 changed files with 9 additions and 1 deletions

View File

@ -894,7 +894,15 @@ BOOL FSFloaterIM::postBuild()
mInputEditor->setEnabled(FALSE);
mInputEditor->setLabel(LLTrans::getString("IM_unavailable_text_label"));
}
else
if ( im_session && im_session->isP2PSessionType())
{
// look up display name for window title
LLAvatarNameCache::get(im_session->mOtherParticipantID,
boost::bind(&FSFloaterIM::onAvatarNameCache,
this, _1, _2));
}
else
{
std::string session_name(LLIMModel::instance().getName(mSessionID));
updateSessionName(session_name, session_name);