We must prompt the user before giving them support the first time
This commit is contained in:
@@ -950,9 +950,9 @@ Changing this setting only affects new text.</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
<string>Boolean</string>
|
||||
<string>S32</string>
|
||||
<key>Value</key>
|
||||
<boolean>1</boolean>
|
||||
<boolean>-1</boolean>
|
||||
</map>
|
||||
<key>WarnRecommendedUpdate</key>
|
||||
<map>
|
||||
|
||||
@@ -575,8 +575,19 @@ BOOL LLFloaterIMPanel::postBuild()
|
||||
}
|
||||
break;
|
||||
case SUPPORT_SESSION:
|
||||
getChildView("Support Check")->setVisible(true);
|
||||
{
|
||||
auto support = getChildView("Support Check");
|
||||
support->setVisible(true);
|
||||
auto control = gSavedSettings.getControl(support->getControlName());
|
||||
if (control->get().asInteger() == -1)
|
||||
{
|
||||
LLNotificationsUtil::add("SupportChatShowInfo", LLSD(), LLSD(), [control](const LLSD& p, const LLSD& f)
|
||||
{
|
||||
control->set(!LLNotificationsUtil::getSelectedOption(p, f));
|
||||
});
|
||||
}
|
||||
// Singu Note: We could make a button feature for dumping Help->About contents for support, too.
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
@@ -11460,6 +11460,17 @@ Do you wish to export anyway?
|
||||
Object successfully exported to: [FILENAME]
|
||||
</notification>
|
||||
|
||||
<notification
|
||||
icon="alertmodal.tga"
|
||||
name="SupportChatShowInfo"
|
||||
type="alertmodal">
|
||||
You have just entered a [SHORT_APP_NAME] support group chat. To help provide support, [SHORT_APP_NAME] can prepend useful information to your messages. This can easily be toggled later via the checkbox in the support group chat.
|
||||
<usetemplate
|
||||
name="okcancelbuttons"
|
||||
notext="Don't Bother"
|
||||
yestext="I Consent!"/>
|
||||
</notification>
|
||||
|
||||
<notification
|
||||
icon="notifytip.tga"
|
||||
label="Update Available"
|
||||
|
||||
Reference in New Issue
Block a user