Remove Metadata.Utils.attachment_url/1
authorMark Felder <feld@feld.me>
Wed, 9 Jun 2021 14:58:29 +0000 (09:58 -0500)
committerMark Felder <feld@feld.me>
Wed, 9 Jun 2021 14:58:29 +0000 (09:58 -0500)
commit19a49dd757ebf60e8501c481f2d2be9d5e326808
tree582d331359ca1c654f006ee805c794d32447a715
parent9cb8960284c7046d4a058c0526b55bce5ef9513b
Remove Metadata.Utils.attachment_url/1

This was a wasteful shortcut to MediaProxy.preview_url/1 and we don't
always want the preview_url in the metadata anyway.
lib/pleroma/web/metadata/providers/open_graph.ex
lib/pleroma/web/metadata/providers/twitter_card.ex
lib/pleroma/web/metadata/utils.ex