mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-04 16:09:36 +00:00
parent
8d8cb08f94
commit
b24cc44e8d
1 changed files with 3 additions and 2 deletions
|
@ -613,9 +613,10 @@ defmodule Pleroma.User do
|
||||||
),
|
),
|
||||||
where:
|
where:
|
||||||
fragment(
|
fragment(
|
||||||
"? @> ?",
|
"coalesce((?)->'object'->>'id', (?)->>'object') = ?",
|
||||||
a.data,
|
a.data,
|
||||||
^%{"object" => user.ap_id}
|
a.data,
|
||||||
|
^user.ap_id
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue