Commit 88950880 authored by lain's avatar lain

Fix for following type change.

parent 4816b09f
Pipeline #793 failed with stage
in 2 minutes and 11 seconds
...@@ -323,7 +323,7 @@ def get_notified_from_activity(%Activity{recipients: to}) do ...@@ -323,7 +323,7 @@ def get_notified_from_activity(%Activity{recipients: to}) 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment