mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-18 04:49:23 +00:00
Rich media doesn't need to be a map
This commit is contained in:
parent
c8f2c4b638
commit
b8f280b4b5
|
@ -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