From 8b93a0d83d15416a381261d7a47b535b36f40ff5 Mon Sep 17 00:00:00 2001 From: Alexei Arabadji Date: Wed, 30 Dec 2009 16:05:59 +0200 Subject: =?UTF-8?q?fixed=20=20EXT-2787=20=E2=80=9COutdated=20voice=20chat?= =?UTF-8?q?=20invitation=20never=20hides=20itself=E2=80=9D,=20corrected=20?= =?UTF-8?q?check=20is=20invite=20from=20group=20or=20ad-hoc=20call=20to=20?= =?UTF-8?q?avoid=20hide=20incoming=20call=20dialog=20for=20that=20cases;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --HG-- branch : product-engine --- indra/newview/llimview.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index a7ce027416..40227539d0 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -1748,7 +1748,8 @@ BOOL LLIncomingCallDialog::postBuild() childSetAction("Start IM", onStartIM, this); childSetFocus("Accept"); - if(mPayload["notify_box_type"] != "VoiceInviteGroup" && mPayload["notify_box_type"] != "VoiceInviteAdHoc") + std::string notify_box_type = mPayload["notify_box_type"].asString(); + if(notify_box_type != "VoiceInviteGroup" && notify_box_type != "VoiceInviteAdHoc") { // starting notification's timer for P2P and AVALINE invitations mLifetimeTimer.start(); -- cgit v1.2.3