Skip to content

Commit

Permalink
Remove spurious option.
Browse files Browse the repository at this point in the history
  • Loading branch information
thisismeonmounteverest committed Sep 16, 2024
1 parent 4fbb425 commit 3c804a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/ConversationModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3c804a3

Please sign in to comment.