Remove BaseSettings & merge ConcurrentSettings (#4775)

This commit is contained in:
pajlada
2023-08-28 17:51:28 +02:00
committed by GitHub
parent 4c942a2a42
commit 7cb04bf58b
18 changed files with 235 additions and 281 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ bool isIgnoredMessage(IgnoredMessageParameters &&params)
if (!params.message.isEmpty())
{
// TODO(pajlada): Do we need to check if the phrase is valid first?
auto phrases = getCSettings().ignoredMessages.readOnly();
auto phrases = getSettings()->ignoredMessages.readOnly();
for (const auto &phrase : *phrases)
{
if (phrase.isBlock() && phrase.isMatch(params.message))