mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-27 16:24:23 +00:00
Fix for following type change.
This commit is contained in:
parent
4816b09fa7
commit
8895088029
|
@ -323,7 +323,7 @@ defmodule Pleroma.User do
|
||||||
def get_recipients_from_activity(%Activity{recipients: to}) do
|
def get_recipients_from_activity(%Activity{recipients: to}) do
|
||||||
query = from u in User,
|
query = from u in User,
|
||||||
where: u.ap_id in ^to,
|
where: u.ap_id in ^to,
|
||||||
or_where: fragment("? \\\?| ?", u.following, ^to)
|
or_where: fragment("? && ?", u.following, ^to)
|
||||||
|
|
||||||
query = from u in query,
|
query = from u in query,
|
||||||
where: u.local == true
|
where: u.local == true
|
||||||
|
|
Loading…
Reference in a new issue