From: lain Date: Wed, 21 Feb 2018 21:27:16 +0000 (+0100) Subject: Fix for following type change. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=8895088029ff0b573803bbd853987e24bb7a4038;p=akkoma Fix for following type change. --- diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index 1d9f40ee0..f97dbb387 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -323,7 +323,7 @@ defmodule Pleroma.User do def get_recipients_from_activity(%Activity{recipients: to}) do query = from u in User, where: u.ap_id in ^to, - or_where: fragment("? \\\?| ?", u.following, ^to) + or_where: fragment("? && ?", u.following, ^to) query = from u in query, where: u.local == true