From b0bcea6449c25b4821b24b9756eb9328485da2c4 Mon Sep 17 00:00:00 2001
From: AndreyL ProductEngine <alihatskiy@productengine.com>
Date: Fri, 27 Jan 2017 22:36:47 +0200
Subject: [PATCH] MAINT-7061 Better check

---
 indra/newview/llstartup.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp
index 57a06da2873..b762b2ae1ce 100644
--- a/indra/newview/llstartup.cpp
+++ b/indra/newview/llstartup.cpp
@@ -2263,7 +2263,7 @@ void login_callback(S32 option, void *userdata)
 void show_release_notes_if_required()
 {
     if (LLVersionInfo::getChannelAndVersion() != gLastRunVersion
-        && LLVersionInfo::getChannel().find("Test") == std::string::npos // don't show Release Notes for the test builds
+        && LLVersionInfo::getViewerMaturity() != LLVersionInfo::TEST_VIEWER // don't show Release Notes for the test builds
         && gSavedSettings.getBOOL("UpdaterShowReleaseNotes")
         && !gSavedSettings.getBOOL("FirstLoginThisInstall"))
     {
-- 
GitLab