aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2019-07-23 22:58:31 +0000
committerAriadne Conill <ariadne@dereferenced.org>2019-07-23 23:51:29 +0000
commitd3bdb8e7049ebda19593d064b308b40ddb6ab4d1 (patch)
tree44a60063b1e66c78e69e4e5591f018487e5b8a5f /lib
parent1a751529fb2cd3929e3373a908bec5db5cc32f1b (diff)
downloadpleroma-d3bdb8e7049ebda19593d064b308b40ddb6ab4d1.tar.gz
rich media: parser: splice the given URL into the result
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/rich_media/parser.ex1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/web/rich_media/parser.ex b/lib/pleroma/web/rich_media/parser.ex
index 185156375..f5f9e358c 100644
--- a/lib/pleroma/web/rich_media/parser.ex
+++ b/lib/pleroma/web/rich_media/parser.ex
@@ -82,6 +82,7 @@ defmodule Pleroma.Web.RichMedia.Parser do
html
|> maybe_parse()
+ |> Map.put(:url, url)
|> clean_parsed_data()
|> check_parsed_data()
rescue