forked from AkkomaGang/akkoma
Rich media doesn't need to be a map
This commit is contained in:
parent
c8f2c4b638
commit
b8f280b4b5
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
|
|||
# to fetch the preview. However it should be fine considering
|
||||
# pagination is restricted to 40 activities at a time
|
||||
defp fetch_rich_media_for_activities(activities) do
|
||||
Enum.map(activities, fn activity ->
|
||||
Enum.each(activities, fn activity ->
|
||||
spawn(fn ->
|
||||
Pleroma.Web.RichMedia.Helpers.fetch_data_for_activity(activity)
|
||||
end)
|
||||
|
|
Loading…
Reference in a new issue