summaryrefslogtreecommitdiff
path: root/src/notifications
diff options
context:
space:
mode:
Diffstat (limited to 'src/notifications')
-rw-r--r--src/notifications/notifications.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/notifications/notifications.cpp b/src/notifications/notifications.cpp
index a962765..fc7a2d6 100644
--- a/src/notifications/notifications.cpp
+++ b/src/notifications/notifications.cpp
@@ -22,7 +22,7 @@ bool CheckGuildMessage(const Message &message) {
case DefaultNotificationLevel::ALL_MESSAGES:
return true;
case DefaultNotificationLevel::ONLY_MENTIONS:
- return message.DoesMentionEveryoneOrUser(discord.GetUserData().ID);
+ return message.DoesMention(discord.GetUserData().ID);
default:
return false;
}
@@ -78,7 +78,7 @@ bool CheckGuildMessage(const Message &message) {
case NotificationLevel::ALL_MESSAGES:
return true;
case NotificationLevel::ONLY_MENTIONS:
- return message.DoesMentionEveryoneOrUser(discord.GetUserData().ID);
+ return message.DoesMention(discord.GetUserData().ID);
case NotificationLevel::NO_MESSAGES:
return false;
default: