summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2026-03-30 19:42:27 +0300
committerGitHub <noreply@github.com>2026-03-30 19:42:27 +0300
commit83c3a3c15d55d932b56a06de7e50ec2de2442fae (patch)
tree5bcceffec37108b3bf598d64f08be9514f012d9c /indra
parent5a7a5272a07935aae544767abc700e8fabf3cbbd (diff)
#5585 fix the issue with ptt state when joining p2p call while in voice-disabled parcel
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llvoicechannel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llvoicechannel.cpp b/indra/newview/llvoicechannel.cpp
index b941d356a1..0852258994 100644
--- a/indra/newview/llvoicechannel.cpp
+++ b/indra/newview/llvoicechannel.cpp
@@ -472,10 +472,6 @@ void LLVoiceChannelGroup::activate()
}
}
}
-
- // Mic default state is OFF on initiating/joining Ad-Hoc/Group calls. It's on for P2P using the AdHoc infra.
-
- LLVoiceClient::getInstance()->setUserPTTState(mIsP2P);
}
}
@@ -534,6 +530,10 @@ void LLVoiceChannelGroup::handleStatusChange(EStatusType type)
case STATUS_JOINED:
mRetries = 3;
mIsRetrying = false;
+
+ // Mic default state is OFF on initiating/joining Ad-Hoc/Group calls. It's on for P2P using the AdHoc infra.
+ LLVoiceClient::getInstance()->setUserPTTState(mIsP2P);
+ break;
default:
break;
}