Add test validating the activity_id is correctly present in the Oban job
This was preventing the activity from being streamed over websockets.
This commit is contained in:
parent
93eb458c24
commit
634e3d4155
3 changed files with 8 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ defmodule Pleroma.Web.RichMedia.Card do
|
|||
card
|
||||
|
||||
nil ->
|
||||
activity_id = Keyword.get(opts, :activity, nil)
|
||||
activity_id = Keyword.get(opts, :activity_id, nil)
|
||||
|
||||
RichMediaWorker.new(%{"op" => "backfill", "url" => url, "activity_id" => activity_id})
|
||||
|> Oban.insert()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue