provide logo at feed.atom (debug)
authorHakaba Hitoyo <example@example.com>
Tue, 30 Jan 2018 10:37:04 +0000 (19:37 +0900)
committerHakaba Hitoyo <example@example.com>
Tue, 30 Jan 2018 10:37:04 +0000 (19:37 +0900)
lib/pleroma/web/ostatus/feed_representer.ex

index bda0175341b82c1a1865dadd4723af822ccc134a..10860ce04343b53ebb608012c1b061d658385029 100644 (file)
@@ -27,7 +27,7 @@ defmodule Pleroma.Web.OStatus.FeedRepresenter do
         {:id, h.(OStatus.feed_path(user))},
         {:title, ['#{user.nickname}\'s timeline']},
         {:updated, h.(most_recent_update)},
-        {:logo, (User.avatar_url(user) |> MediaProxy.url())},
+        {:logo, [to_charlist(User.avatar_url(user) |> MediaProxy.url())]},
         {:link, [rel: 'hub', href: h.(OStatus.pubsub_path(user))], []},
         {:link, [rel: 'salmon', href: h.(OStatus.salmon_path(user))], []},
         {:link, [rel: 'self', href: h.(OStatus.feed_path(user)), type: 'application/atom+xml'], []},