diff options
| author | Erik Kundiman <erik@megapahit.org> | 2025-10-03 20:01:19 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2025-10-03 20:01:19 +0800 |
| commit | f5e7c3a874dcbc4ea8ae23248c2685335bf1eacf (patch) | |
| tree | 874d4e3cb4ccc81945569a6a3497f8fc6cc23525 /indra/newview/llvoicechannel.cpp | |
| parent | 70ee556ebdd87ee8e7813a497882206d990c62e3 (diff) | |
| parent | c743ea2b6dc60312b29f2fb5972171ead26ee448 (diff) | |
Merge tag 'Second_Life_Release#c743ea2b-2025.07' into 2025.07
Diffstat (limited to 'indra/newview/llvoicechannel.cpp')
| -rw-r--r-- | indra/newview/llvoicechannel.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llvoicechannel.cpp b/indra/newview/llvoicechannel.cpp index b3ac28eb7a..fbe896ac27 100644 --- a/indra/newview/llvoicechannel.cpp +++ b/indra/newview/llvoicechannel.cpp @@ -357,6 +357,8 @@ void LLVoiceChannel::suspend() { sSuspendedVoiceChannel = sCurrentVoiceChannel; sSuspended = true; + + sCurrentVoiceChannelChangedSignal(sSuspendedVoiceChannel->mSessionID); } } @@ -365,6 +367,7 @@ void LLVoiceChannel::resume() { if (sSuspended) { + sSuspended = false; // needs to be before activate() so that observers will be able to read state if (LLVoiceClient::getInstance()->voiceEnabled()) { if (sSuspendedVoiceChannel) @@ -382,7 +385,6 @@ void LLVoiceChannel::resume() LLVoiceChannelProximal::getInstance()->activate(); } } - sSuspended = false; } } |
