- Edited
meetdilip
Dirty unrecommended hack:
you can replace $post->discussion->save();
with $post->discussion->delete();
and comment 101-108
lines here:
https://github.com/FriendsOfFlarum/filter/blob/master/src/Listener/CheckPost.php#L98
The author(spammer) will get something like
The requested resource was not found.