summaryrefslogtreecommitdiff
path: root/indra/newview/llvoiceclient.cpp
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2024-02-01 21:53:33 -0800
committerRoxie Linden <roxie@lindenlab.com>2024-02-08 18:35:55 -0800
commit0cd8ad6ebb6e76bfc04cf6c423b0dc586161c6f7 (patch)
treea7fe176001188df619f75db8dd36494252e6c992 /indra/newview/llvoiceclient.cpp
parentecd6b87b195321f522e27e5f62fe33eeaec48b4e (diff)
Hang up when peer hangs up in ad-hoc driven p2p call
Diffstat (limited to 'indra/newview/llvoiceclient.cpp')
-rw-r--r--indra/newview/llvoiceclient.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llvoiceclient.cpp b/indra/newview/llvoiceclient.cpp
index 54840a1235..de7fb248b0 100644
--- a/indra/newview/llvoiceclient.cpp
+++ b/indra/newview/llvoiceclient.cpp
@@ -436,11 +436,12 @@ bool LLVoiceClient::inProximalChannel()
void LLVoiceClient::setNonSpatialChannel(
const std::string &uri,
- const std::string &credentials)
+ const std::string &credentials,
+ bool hangup_on_last_leave)
{
if (mVoiceModule)
{
- mVoiceModule->setNonSpatialChannel(uri, credentials);
+ mVoiceModule->setNonSpatialChannel(uri, credentials, hangup_on_last_leave);
}
}