From 8895088029ff0b573803bbd853987e24bb7a4038 Mon Sep 17 00:00:00 2001 From: lain Date: Wed, 21 Feb 2018 22:27:16 +0100 Subject: [PATCH] Fix for following type change. --- lib/pleroma/user.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2