From 3c804a368df89b11aef347226866c0402462aa12 Mon Sep 17 00:00:00 2001 From: thisismeonmounteverest Date: Mon, 16 Sep 2024 19:53:50 +0200 Subject: [PATCH] Remove spurious option. --- src/Model/ConversationModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/ConversationModel.php b/src/Model/ConversationModel.php index ac36a7467..c05386dab 100644 --- a/src/Model/ConversationModel.php +++ b/src/Model/ConversationModel.php @@ -291,7 +291,7 @@ public function markConversationAsRead(Member $member, array $thread): void public function formatConversation(Message $message): Message { $messageText = $message->getMessage(); - $found = preg_match("/@|at|.at.|-at-|\(at\)/i", $messageText); + $found = preg_match("/@|.at.|-at-|\(at\)/i", $messageText); if ($found != 0) { $message->setSpamInfo(SpamInfoType::SPAM_BLOCKED_WORD);