From 1b1472540f45de2171c8b317b614d18ae7dc2ff7 Mon Sep 17 00:00:00 2001 From: 0xboobface <0xboobface@gmail.com> Date: Tue, 23 Oct 2018 17:14:21 +0200 Subject: [PATCH] Change affiliate links to match the correct program --- src/main/java/ctbrec/sites/chaturbate/Chaturbate.java | 3 ++- src/main/java/ctbrec/ui/SettingsTab.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/ctbrec/sites/chaturbate/Chaturbate.java b/src/main/java/ctbrec/sites/chaturbate/Chaturbate.java index 215d40d4..91bf11a0 100644 --- a/src/main/java/ctbrec/sites/chaturbate/Chaturbate.java +++ b/src/main/java/ctbrec/sites/chaturbate/Chaturbate.java @@ -41,7 +41,8 @@ public class Chaturbate implements Site { private static final transient Logger LOG = LoggerFactory.getLogger(Chaturbate.class); public static final String BASE_URI = "https://chaturbate.com"; - public static final String AFFILIATE_LINK = BASE_URI + "/in/?track=default&tour=LQps&campaign=55vTi&room=0xb00bface"; + public static final String AFFILIATE_LINK = BASE_URI + "/in/?track=default&tour=grq0&campaign=55vTi"; + public static final String REGISTRATION_LINK = BASE_URI + "/in/?track=default&tour=g4pe&campaign=55vTi"; private Recorder recorder; private ChaturbateHttpClient httpClient; diff --git a/src/main/java/ctbrec/ui/SettingsTab.java b/src/main/java/ctbrec/ui/SettingsTab.java index 8fecb826..fb4c8880 100644 --- a/src/main/java/ctbrec/ui/SettingsTab.java +++ b/src/main/java/ctbrec/ui/SettingsTab.java @@ -188,7 +188,7 @@ public class SettingsTab extends Tab implements TabSelectionListener { layout.add(password, 1, 1); Button createAccount = new Button("Create new Account"); - createAccount.setOnAction((e) -> DesktopIntergation.open(Chaturbate.AFFILIATE_LINK)); + createAccount.setOnAction((e) -> DesktopIntergation.open(Chaturbate.REGISTRATION_LINK)); layout.add(createAccount, 1, 2); GridPane.setColumnSpan(createAccount, 2); GridPane.setMargin(username, new Insets(0, 0, 0, CHECKBOX_MARGIN));