diff options
author | lain <lain@soykaf.club> | 2018-02-21 22:27:16 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2018-02-21 22:27:16 +0100 |
commit | 8895088029ff0b573803bbd853987e24bb7a4038 (patch) | |
tree | a68dbe343e6a628bdb973b62a889f596e80292de /lib | |
parent | 4816b09fa787cc27b5a0a4b0bdd5dcda4fe06ee2 (diff) | |
download | pleroma-8895088029ff0b573803bbd853987e24bb7a4038.tar.gz |
Fix for following type change.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/user.ex | 2 |
1 files changed, 1 insertions, 1 deletions
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 |