Video: Handle peertube videos only stashing attachments in x-mpegURL
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Sun, 21 Feb 2021 22:41:13 +0000 (23:41 +0100)
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Sun, 21 Feb 2021 22:41:28 +0000 (23:41 +0100)
commit7fc9cd09740e31fe75ff3402f29614bb328240f7
treebd2af94b89702e086f5281488792192c42ae78ad
parent8829a408ecf3bfffaf59af415817220fd63a81b7
Video: Handle peertube videos only stashing attachments in x-mpegURL

Closes: https://git.pleroma.social/pleroma/pleroma/-/issues/2535
lib/pleroma/web/activity_pub/object_validators/audio_video_validator.ex
test/fixtures/peertube/actor-person.json [new file with mode: 0644]
test/fixtures/peertube/video-object-mpegURL-only.json [new file with mode: 0644]
test/pleroma/web/activity_pub/transmogrifier/video_handling_test.exs
test/support/http_request_mock.ex