addSession had a changed parameter...which wasn't changed everywhere
parent
041946455d
commit
425f089ffc
|
|
@ -241,7 +241,7 @@ static void on_avatar_name_cache_start_call(const LLUUID& agent_id,
|
|||
const LLAvatarName& av_name)
|
||||
{
|
||||
std::string name = av_name.getDisplayName();
|
||||
LLUUID session_id = gIMMgr->addSession(name, IM_NOTHING_SPECIAL, agent_id, true);
|
||||
LLUUID session_id = gIMMgr->addSession(name, IM_NOTHING_SPECIAL, agent_id, LLSD());
|
||||
if (session_id != LLUUID::null)
|
||||
{
|
||||
gIMMgr->startCall(session_id);
|
||||
|
|
@ -277,8 +277,7 @@ void LLAvatarActions::startAdhocCall(const uuid_vec_t& ids, const LLUUID& floate
|
|||
|
||||
// create the new ad hoc voice session
|
||||
const std::string title = LLTrans::getString("conference-title");
|
||||
LLUUID session_id = gIMMgr->addSession(title, IM_SESSION_CONFERENCE_START,
|
||||
ids[0], id_array, true, floater_id);
|
||||
LLUUID session_id = gIMMgr->addSession(title, IM_SESSION_CONFERENCE_START, ids[0], id_array, LLSD(), floater_id);
|
||||
if (session_id == LLUUID::null)
|
||||
{
|
||||
return;
|
||||
|
|
@ -322,7 +321,7 @@ void LLAvatarActions::startConference(const uuid_vec_t& ids, const LLUUID& float
|
|||
id_array.push_back(*it);
|
||||
}
|
||||
const std::string title = LLTrans::getString("conference-title");
|
||||
LLUUID session_id = gIMMgr->addSession(title, IM_SESSION_CONFERENCE_START, ids[0], id_array, false, floater_id);
|
||||
LLUUID session_id = gIMMgr->addSession(title, IM_SESSION_CONFERENCE_START, ids[0], id_array, LLSD(), floater_id);
|
||||
|
||||
if (session_id == LLUUID::null)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -254,7 +254,7 @@ void LLGroupActions::startCall(const LLUUID& group_id)
|
|||
return;
|
||||
}
|
||||
|
||||
LLUUID session_id = gIMMgr->addSession(gdata.mName, IM_SESSION_GROUP_START, group_id, true);
|
||||
LLUUID session_id = gIMMgr->addSession(gdata.mName, IM_SESSION_GROUP_START, group_id, LLSD());
|
||||
if (session_id == LLUUID::null)
|
||||
{
|
||||
LL_WARNS() << "Error adding session" << LL_ENDL;
|
||||
|
|
|
|||
|
|
@ -2971,7 +2971,7 @@ void LLIncomingCallDialog::processCallResponse(S32 response, const LLSD &payload
|
|||
}
|
||||
}
|
||||
|
||||
gIMMgr->addSession(correct_session_name, type, session_id, true);
|
||||
gIMMgr->addSession(correct_session_name, type, session_id, payload["voice_channel_info"]);
|
||||
|
||||
std::string url = gAgent.getRegion()->getCapability(
|
||||
"ChatSessionRequest");
|
||||
|
|
|
|||
Loading…
Reference in New Issue