forked from AkkomaGang/akkoma
activitypub: utils: also match Activity objects
This commit is contained in:
parent
0f3ecb2bfb
commit
379442ad17
1 changed files with 1 additions and 0 deletions
|
@ -623,6 +623,7 @@ def make_create_data(params, additional) do
|
|||
def make_flag_data(params, additional) do
|
||||
status_ap_ids =
|
||||
Enum.map(params.statuses || [], fn
|
||||
%Activity{} = act -> act.data["id"]
|
||||
act when is_map(act) -> act["id"]
|
||||
act when is_binary(act) -> act
|
||||
end)
|
||||
|
|
Loading…
Reference in a new issue