Added result code to ignore/unignore calls

Add ignore/unignore calls that take the user ID to avoid double api
calls
Fully implement the account popup ignore/unignore feature
Fix #247
This commit is contained in:
Rasmus Karlsson 2018-05-13 17:53:24 +02:00 committed by fourtf
parent 26262f4ce4
commit c2c3b67f6b

View file

@ -176,7 +176,7 @@ void TwitchAccount::ignoreByID(const QString &targetUserID, const QString &targe
});
req.execute();
} // namespace twitch
}
void TwitchAccount::unignore(const QString &targetName,
std::function<void(UnignoreResult, const QString &message)> onFinished)