From 7c4398bf137975ebee711a9e8dd4cbd11f68a974 Mon Sep 17 00:00:00 2001 From: Igor Kotrasinski Date: Mon, 13 Mar 2017 15:42:01 +0100 Subject: [PATCH] Fix user aliases link Signed-off-by: Igor Kotrasinski --- src/chat/chatter.py | 2 +- src/config/production.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/chat/chatter.py b/src/chat/chatter.py index 47660b959..669ed377e 100644 --- a/src/chat/chatter.py +++ b/src/chat/chatter.py @@ -224,7 +224,7 @@ def set_color(self): self.setTextColor(QtGui.QColor(chat.get_color("default"))) def viewAliases(self): - QtGui.QDesktopServices.openUrl(QUrl("{}?name={}".format(Settings.get("NAME_CHANGE_URL"), self.name))) + QtGui.QDesktopServices.openUrl(QUrl("{}?name={}".format(Settings.get("USER_ALIASES_URL"), self.name))) def selectAvatar(self): avatarSelection = avatarWidget(self.lobby.client, self.name, personal=True) diff --git a/src/config/production.py b/src/config/production.py index a48e5af87..009800198 100644 --- a/src/config/production.py +++ b/src/config/production.py @@ -47,4 +47,5 @@ 'STEAMLINK_URL': 'https://faforever.com/account/link', 'PASSWORD_RECOVERY_URL': 'https://faforever.com/account/password/reset', 'NAME_CHANGE_URL': 'https://faforever.com/account/username/change', + 'USER_ALIASES_URL': 'http://app.faforever.com/faf/userName.php', }