summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2011-05-13 11:01:36 -0700
committerLeyla Farazha <leyla@lindenlab.com>2011-05-13 11:01:36 -0700
commit039b6baf065a87d747647fb0477c799a9949ebf2 (patch)
tree51e9fe3b4fd8e71f7583cda4096db31f525aee93 /indra/newview
parent166e4df2780ca004535d6f915417b36613de5b77 (diff)
EXP-783 User can accept a call and see end call option in IM window but they are in nearby voice
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llvoicechannel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llvoicechannel.cpp b/indra/newview/llvoicechannel.cpp
index b921b7a481..bd12328a6b 100644
--- a/indra/newview/llvoicechannel.cpp
+++ b/indra/newview/llvoicechannel.cpp
@@ -849,6 +849,8 @@ void LLVoiceChannelP2P::activate()
{
if (!LLVoiceClient::getInstance()->answerInvite(mSessionHandle))
{
+ mCallEndedByAgent = false;
+ mSessionHandle.clear();
handleError(ERROR_UNKNOWN);
return;
}