merge storm-153 re-fix.
commit
595cbb77d2
|
|
@ -622,7 +622,10 @@ bool LLIMModel::newSession(const LLUUID& session_id, const std::string& name, co
|
|||
LLIMSession* session = new LLIMSession(session_id, name, type, other_participant_id, ids, voice);
|
||||
mId2SessionMap[session_id] = session;
|
||||
|
||||
LLIMMgr::getInstance()->notifyObserverSessionAdded(session_id, name, other_participant_id);
|
||||
// When notifying observer, name of session is used instead of "name", because they may not be the
|
||||
// same if it is an adhoc session (in this case name is localized in LLIMSession constructor).
|
||||
std::string session_name = LLIMModel::getInstance()->getName(session_id);
|
||||
LLIMMgr::getInstance()->notifyObserverSessionAdded(session_id, session_name, other_participant_id);
|
||||
|
||||
return true;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue