Code style fixes
This commit is contained in:
parent
b2e8371e6a
commit
31343e4321
4 changed files with 3 additions and 9 deletions
|
|
@ -92,12 +92,7 @@ defmodule Pleroma.Activity do
|
|||
|
||||
def with_joined_user_actor(query, join_type \\ :inner) do
|
||||
join(query, join_type, [activity], u in User,
|
||||
on:
|
||||
fragment(
|
||||
"? = ?->>'actor'",
|
||||
u.ap_id,
|
||||
activity.data
|
||||
),
|
||||
on: u.ap_id == activity.actor,
|
||||
as: :user_actor
|
||||
)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue