From f60187d2240a3a09d78dc1e2a016820aa12f88ca Mon Sep 17 00:00:00 2001
From: Mnikolenko Productengine <mnikolenko@productengine.com>
Date: Mon, 21 Oct 2019 19:20:57 +0300
Subject: [PATCH] SL-12161 FIXED Disabling voice while a call is active leaves
 the Speak button enabled.

---
 indra/newview/llvoicevivox.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/indra/newview/llvoicevivox.cpp b/indra/newview/llvoicevivox.cpp
index e10ba77e16b..eb45e220668 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;
 		}
 
-- 
GitLab