From: Hakaba Hitoyo Date: Tue, 30 Jan 2018 10:37:04 +0000 (+0900) Subject: provide logo at feed.atom (debug) X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=cefb6cfea191c7a416b59d6f8e4d1f45acff4332;p=akkoma provide logo at feed.atom (debug) --- diff --git a/lib/pleroma/web/ostatus/feed_representer.ex b/lib/pleroma/web/ostatus/feed_representer.ex index bda017534..10860ce04 100644 --- a/lib/pleroma/web/ostatus/feed_representer.ex +++ b/lib/pleroma/web/ostatus/feed_representer.ex @@ -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'], []},