mastodon api: fix rendering of cards without image URLs (closes #597)

4 jobs for bugfix/rich-media-image-nil in 6 minutes and 7 seconds
Status Job ID Name Coverage
  Lint
passed #15674
lint

00:02:28

 
  Test
failed #15677
unit-testing

00:03:39

failed #15676
unit-testing

00:01:04

failed #15675
unit-testing

00:00:57

 
Name Stage Failure
failed
unit-testing Test
Pleroma.CaptchaTest
* test Kocaptcha new and validate * test Kocaptcha new and validate (0.09ms)


Finished in 73.8 seconds
905 tests, 1 failure, 10 skipped

Randomized with seed 741242
ERROR: Job failed: exit code 1