diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-02-05 13:39:26 -0500 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-02-05 13:39:26 -0500 |
commit | 41ab7853536dcbbf2b64d06b754617ee6bc7e896 (patch) | |
tree | 49d3e429f9bcdab55a750d1e6bbf0b88c517ddb8 /indra/newview/llimview.cpp | |
parent | 663aa828312413a391a2d848f6bb1b9aae92a543 (diff) | |
parent | 3856dcbbf36e0c8d1d278e9a7603a151580ccff1 (diff) |
automated merge viewer2.0->viewer2.0
Diffstat (limited to 'indra/newview/llimview.cpp')
-rw-r--r-- | indra/newview/llimview.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index 0c64c2b032..b6032f4dfa 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -1610,6 +1610,13 @@ void LLOutgoingCallDialog::show(const LLSD& key) } childSetTextArg("nearby", "[VOICE_CHANNEL_NAME]", channel_name); childSetTextArg("nearby_P2P", "[VOICE_CHANNEL_NAME]", mPayload["disconnected_channel_name"].asString()); + + // skipping "You will now be reconnected to nearby" in notification when call is ended by disabling voice, + // so no reconnection to nearby chat happens (EXT-4397) + bool voice_works = LLVoiceClient::voiceEnabled() && gVoiceClient->voiceWorking(); + std::string reconnect_nearby = voice_works ? LLTrans::getString("reconnect_nearby") : std::string(); + childSetTextArg("nearby", "[RECONNECT_NEARBY]", reconnect_nearby); + childSetTextArg("nearby_P2P", "[RECONNECT_NEARBY]", reconnect_nearby); } std::string callee_name = mPayload["session_name"].asString(); |