diff options
author | Roxie Linden <roxie@lindenlab.com> | 2024-05-16 13:34:13 -0700 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2024-05-16 13:34:13 -0700 |
commit | cfd358f93350bf0ea487480d5c39bf48605b115b (patch) | |
tree | 955089cd26c9e04cd207360dae343f8ecd992990 /indra/newview/llimview.cpp | |
parent | c6e147ff224e1adc9a498d4a06ad54fff710d704 (diff) |
WebRTC clients calling Vivox clients should handle P2P
Diffstat (limited to 'indra/newview/llimview.cpp')
-rw-r--r-- | indra/newview/llimview.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index cf25d1a650..a411329ffb 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -3393,8 +3393,9 @@ LLUUID LLIMMgr::addSession( im_floater->reloadMessages(); } } + LLIMModel::LLIMSession *session = LLIMModel::getInstance()->findIMSession(session_id); - bool new_session = (LLIMModel::getInstance()->findIMSession(session_id) == NULL); + bool new_session = (session == NULL); //works only for outgoing ad-hoc sessions if (new_session && @@ -3417,6 +3418,7 @@ LLUUID LLIMMgr::addSession( //Notifies observers that the session was already added else { + session->initVoiceChannel(voiceChannelInfo); std::string session_name = LLIMModel::getInstance()->getName(session_id); LLIMMgr::getInstance()->notifyObserverSessionActivated(session_id, session_name, other_participant_id); } |