summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2026-04-15 22:03:00 +0300
committerGitHub <noreply@github.com>2026-04-15 22:03:00 +0300
commit45f8e60cb4ec113e0bf07f28f84405e25ba356fd (patch)
tree5e64045cc4e0296d11d66ad128d86b90e5f5d62d
parentd9b6ba6bb908085464e02c89cbecec94edfd1ee7 (diff)
#5585 fix the issue with ptt state when joining p2p call while in voice-disabled parcel
-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;
}