AcceptValidator: Add basic validator with tests.
authorlain <lain@soykaf.club>
Tue, 11 Aug 2020 13:13:07 +0000 (15:13 +0200)
committerlain <lain@soykaf.club>
Tue, 11 Aug 2020 13:13:07 +0000 (15:13 +0200)
commitf1a0c10b17ff20a5ebbd070dc38aaedf82f8fe2e
tree6a7b59c183fd877b14fedce4d8adfa29adaac48b
parent8f9fbc86c0dcf307b87b38d218b36df2f9f35a7f
AcceptValidator: Add basic validator with tests.
lib/pleroma/web/activity_pub/builder.ex
lib/pleroma/web/activity_pub/object_validator.ex
lib/pleroma/web/activity_pub/object_validators/accept_validator.ex [new file with mode: 0644]
test/web/activity_pub/object_validators/accept_validation_test.exs [new file with mode: 0644]