Chat: Allow posting without content if an attachment is present.
authorlain <lain@soykaf.club>
Wed, 13 May 2020 13:31:28 +0000 (15:31 +0200)
committerlain <lain@soykaf.club>
Wed, 13 May 2020 13:31:28 +0000 (15:31 +0200)
commit0f0acc740d30c47d093f27875d4decf0693b2845
tree0cdc813d983f535898c515d4a87a503bb7d3acd1
parent06cad239e50cada3aec4fc3b4c494a70d328672c
Chat: Allow posting without content if an attachment is present.
docs/API/chats.md
lib/pleroma/web/activity_pub/object_validators/chat_message_validator.ex
lib/pleroma/web/api_spec/operations/chat_operation.ex
lib/pleroma/web/api_spec/schemas/chat_message.ex
lib/pleroma/web/common_api/common_api.ex
lib/pleroma/web/pleroma_api/controllers/chat_controller.ex
test/web/activity_pub/object_validator_test.exs
test/web/common_api/common_api_test.exs
test/web/pleroma_api/controllers/chat_controller_test.exs