diff --git a/src/providers/twitch/TwitchAccount.cpp b/src/providers/twitch/TwitchAccount.cpp index 785f159e5..cdfdf0cf3 100644 --- a/src/providers/twitch/TwitchAccount.cpp +++ b/src/providers/twitch/TwitchAccount.cpp @@ -130,7 +130,7 @@ void TwitchAccount::ignore(const QString &targetName, this->ignoreByID(targetUserId, targetName, onFinished); // }; - PartialTwitchUser::byName(this->userName_).getId(onIdFetched); + PartialTwitchUser::byName(targetName).getId(onIdFetched); } void TwitchAccount::ignoreByID(const QString &targetUserID, const QString &targetName, @@ -197,7 +197,7 @@ void TwitchAccount::unignore(const QString &targetName, this->unignoreByID(targetUserId, targetName, onFinished); // }; - PartialTwitchUser::byName(this->userName_).getId(onIdFetched); + PartialTwitchUser::byName(targetName).getId(onIdFetched); } void TwitchAccount::unignoreByID(