From a1528c45594e5fc57eb956c853126f9d9f3fc387 Mon Sep 17 00:00:00 2001
From: Mike Antipov <mantipov@productengine.com>
Date: Thu, 24 Dec 2009 15:06:48 +0200
Subject: [PATCH] Fixed normal bug EXT-3678 ( IM well button becomes "unlit"
 after starting voice session) -- do nothing in Wells in case the same count
 of unread messages comes.

--HG--
branch : product-engine
---
 indra/newview/llchiclet.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/indra/newview/llchiclet.cpp b/indra/newview/llchiclet.cpp
index e6f56d89f7c..154a711431b 100644
--- a/indra/newview/llchiclet.cpp
+++ b/indra/newview/llchiclet.cpp
@@ -173,6 +173,9 @@ LLSysWellChiclet::~LLSysWellChiclet()
 
 void LLSysWellChiclet::setCounter(S32 counter)
 {
+	// do nothing if the same counter is coming. EXT-3678.
+	if (counter == mCounter) return;
+
 	// note same code in LLChicletNotificationCounterCtrl::setCounter(S32 counter)
 	std::string s_count;
 	if(counter != 0)
-- 
GitLab