fix: stop blocked terms from showing up more than once (#5789)

This commit is contained in:
pajlada
2025-01-04 12:57:09 +01:00
committed by GitHub
parent 5aab424a6a
commit 8b7d7f9d71
4 changed files with 11 additions and 6 deletions
@@ -6,6 +6,8 @@
#include <QString>
#include <QStringList>
#include <set>
namespace chatterino {
struct PubSubAutoModQueueMessage {
@@ -41,7 +43,7 @@ struct PubSubAutoModQueueMessage {
QString senderUserDisplayName;
QColor senderUserChatColor;
QStringList blockedTermsFound;
std::set<QString> blockedTermsFound;
PubSubAutoModQueueMessage() = default;
explicit PubSubAutoModQueueMessage(const QJsonObject &root);