projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68a74d6
)
[#2497] Formatting fix.
author
Ivan Tashkinov
<ivantashkinov@gmail.com>
Wed, 9 Sep 2020 16:43:36 +0000
(19:43 +0300)
committer
Ivan Tashkinov
<ivantashkinov@gmail.com>
Wed, 9 Sep 2020 16:43:36 +0000
(19:43 +0300)
lib/pleroma/instances/instance.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/instances/instance.ex
b/lib/pleroma/instances/instance.ex
index 4fe4b198d339153fae47671115c8aa43ce2df0e0..ad7764f05b54145ee912d5dd6124513e12cb14b6 100644
(file)
--- a/
lib/pleroma/instances/instance.ex
+++ b/
lib/pleroma/instances/instance.ex
@@
-156,9
+156,7
@@
defmodule Pleroma.Instances.Instance do
defp scrape_favicon(%URI{} = instance_uri) do
try do
with {:ok, %Tesla.Env{body: html}} <-
- Pleroma.HTTP.get(to_string(instance_uri), [{"accept", "text/html"}],
- pool: :media
- ),
+ Pleroma.HTTP.get(to_string(instance_uri), [{"accept", "text/html"}], pool: :media),
favicon_rel <-
html
|> Floki.parse_document!()