From c5c24fac976e5439a2c2484c2ddc9882192f2b5f Mon Sep 17 00:00:00 2001
From: AndreyL ProductEngine <alihatskiy@productengine.com>
Date: Thu, 26 Jan 2017 18:59:34 +0200
Subject: [PATCH] MAINT-7061 Make the check TPV friendly

---
 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 5459ddc4391..57a06da2873 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() != "Second Life Test" // don't show Release Notes for the test builds
+        && LLVersionInfo::getChannel().find("Test") == std::string::npos // don't show Release Notes for the test builds
         && gSavedSettings.getBOOL("UpdaterShowReleaseNotes")
         && !gSavedSettings.getBOOL("FirstLoginThisInstall"))
     {
-- 
GitLab