projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4816b09
)
Fix for following type change.
author
lain
<lain@soykaf.club>
Wed, 21 Feb 2018 21:27:16 +0000
(22:27 +0100)
committer
lain
<lain@soykaf.club>
Wed, 21 Feb 2018 21:27:16 +0000
(22:27 +0100)
lib/pleroma/user.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/user.ex
b/lib/pleroma/user.ex
index 1d9f40ee0852970be0d6cbd6a1ecfea4d44bac67..f97dbb387020fb6690e3d57a38a01418c70e1e19 100644
(file)
--- 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