MRF NoEmptyPolicy: Deny posts from local users if there is no content or only mentions.
authorMark Felder <feld@feld.me>
Mon, 8 Feb 2021 21:32:47 +0000 (15:32 -0600)
committerMark Felder <feld@feld.me>
Mon, 8 Feb 2021 21:32:47 +0000 (15:32 -0600)
commit55a13fc3607c9d753e6fca596010c0a96ba3fba8
treed0556e556083e437d9b7482b1805eaef071a393f
parentd7262f7d2232343e47c2206b134a7d794e35c505
MRF NoEmptyPolicy: Deny posts from local users if there is no content or only mentions.

Helps prevent accidental button mashes from submitting incomplete posts
CHANGELOG.md
lib/pleroma/web/activity_pub/mrf/no_empty_policy.ex [new file with mode: 0644]
test/pleroma/web/activity_pub/mrf/no_empty_policy_test.exs [new file with mode: 0644]