diff options
| author | dcc <dcc@logografos.com> | 2023-09-04 02:54:35 -0700 |
|---|---|---|
| committer | dcc <dcc@logografos.com> | 2023-09-04 02:54:35 -0700 |
| commit | a127041c8b3e31c9fa487dd5ca4faa29a0a59e6e (patch) | |
| tree | 563a301e6dfc8e419a787542f233976a5b761160 /lib/pleroma/scheduled_activity.ex | |
| parent | 40bfe7919694619570c3e2192dff895c78ce44b9 (diff) | |
| download | anni-a127041c8b3e31c9fa487dd5ca4faa29a0a59e6e.tar.gz anni-a127041c8b3e31c9fa487dd5ca4faa29a0a59e6e.tar.bz2 anni-a127041c8b3e31c9fa487dd5ca4faa29a0a59e6e.zip | |
move to 2.5.5
Diffstat (limited to 'lib/pleroma/scheduled_activity.ex')
| -rwxr-xr-x[-rw-r--r--] | lib/pleroma/scheduled_activity.ex | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/pleroma/scheduled_activity.ex b/lib/pleroma/scheduled_activity.ex index a7be585..0ed51ad 100644..100755 --- a/lib/pleroma/scheduled_activity.ex +++ b/lib/pleroma/scheduled_activity.ex @@ -40,7 +40,11 @@ defmodule Pleroma.ScheduledActivity do %{changes: %{params: %{"media_ids" => media_ids} = params}} = changeset ) when is_list(media_ids) do - media_attachments = Utils.attachments_from_ids(%{media_ids: media_ids}) + media_attachments = + Utils.attachments_from_ids( + %{media_ids: media_ids}, + User.get_cached_by_id(changeset.data.user_id) + ) params = params |
