Also respect "enable twitch ignored users" setting

This commit is contained in:
Rasmus Karlsson 2018-05-12 23:34:22 +02:00
parent e4439a3f10
commit 6768853d92

View file

@ -62,7 +62,7 @@ bool TwitchMessageBuilder::isIgnored() const
} }
} }
if (this->tags.contains("user-id")) { if (app->settings->enableTwitchIgnoredUsers && this->tags.contains("user-id")) {
auto sourceUserID = this->tags.value("user-id").toString(); auto sourceUserID = this->tags.value("user-id").toString();
for (const auto &user : app->accounts->Twitch.getCurrent()->getIgnores()) { for (const auto &user : app->accounts->Twitch.getCurrent()->getIgnores()) {