mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
requested changes
This commit is contained in:
parent
320d74b287
commit
e4d3e6de7f
2 changed files with 3 additions and 2 deletions
|
@ -12,7 +12,7 @@ class Paths;
|
||||||
|
|
||||||
class IgnoreModel;
|
class IgnoreModel;
|
||||||
|
|
||||||
enum ShowIgnoredUsersMessages { Never, IfModerator, IfBroadcaster };
|
enum class ShowIgnoredUsersMessages { Never, IfModerator, IfBroadcaster };
|
||||||
|
|
||||||
class IgnoreController final : public Singleton
|
class IgnoreController final : public Singleton
|
||||||
{
|
{
|
||||||
|
|
|
@ -80,7 +80,8 @@ bool TwitchMessageBuilder::isIgnored() const
|
||||||
{
|
{
|
||||||
if (sourceUserID == user.id)
|
if (sourceUserID == user.id)
|
||||||
{
|
{
|
||||||
switch (getSettings()->showIgnoredUsersMessages)
|
switch (static_cast<ShowIgnoredUsersMessages>(
|
||||||
|
getSettings()->showIgnoredUsersMessages.getValue()))
|
||||||
{
|
{
|
||||||
case ShowIgnoredUsersMessages::IfModerator:
|
case ShowIgnoredUsersMessages::IfModerator:
|
||||||
if (this->channel->isMod() ||
|
if (this->channel->isMod() ||
|
||||||
|
|
Loading…
Reference in a new issue