Commit a593916e authored by Mark Harding's avatar Mark Harding

(chore): if channel reported for spam then do immediate ban

parent e0ced6e2
No related merge requests found
Pipeline #62797221 passed with stages
in 9 minutes and 3 seconds
......@@ -114,9 +114,13 @@ class ActionDelegate
if ($entity->type !== 'user') {
$this->actions->setDeletedFlag($entity, true);
$this->saveAction->setEntity($entity)->save();
// Apply a strike to the owner
$this->applyStrike($report);
} else {
// Apply a strike to the owner
$this->applyBan($report);
}
// Apply a strike to the owner
$this->applyStrike($report);
break;
//case 12: // Incorrect use of hashtags
// De-index post
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment