summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2019-10-21 19:20:57 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2019-10-21 19:20:57 +0300
commitf60187d2240a3a09d78dc1e2a016820aa12f88ca (patch)
tree1e9d1021749996f5390421a46c96d8b68ee41523
parent5ee6853d07ed834e90c8c03b2f716ad9c1887484 (diff)
SL-12161 FIXED Disabling voice while a call is active leaves the Speak button enabled.
-rw-r--r--indra/newview/llvoicevivox.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llvoicevivox.cpp b/indra/newview/llvoicevivox.cpp
index e10ba77e16..eb45e22066 100644
--- a/indra/newview/llvoicevivox.cpp
+++ b/indra/newview/llvoicevivox.cpp
@@ -5144,6 +5144,7 @@ void LLVivoxVoiceClient::setVoiceEnabled(bool enabled)
{
// Turning voice off looses your current channel -- this makes sure the UI isn't out of sync when you re-enable it.
LLVoiceChannel::getCurrentVoiceChannel()->deactivate();
+ gAgent.setVoiceConnected(false);
status = LLVoiceClientStatusObserver::STATUS_VOICE_DISABLED;
}