projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee5250a
)
query fix
author
Alex S
<alex.strizhakov@gmail.com>
Mon, 15 Jul 2019 17:53:07 +0000
(20:53 +0300)
committer
Alex S
<alex.strizhakov@gmail.com>
Mon, 15 Jul 2019 17:53:52 +0000
(20:53 +0300)
lib/pleroma/notification.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/notification.ex
b/lib/pleroma/notification.ex
index ee7b37aab35bc3cc193b3835bfc7597f59d3370a..d472292581201ebcfd79abd1628add4d4b03566f 100644
(file)
--- a/
lib/pleroma/notification.ex
+++ b/
lib/pleroma/notification.ex
@@
-65,7
+65,7
@@
defmodule Pleroma.Notification do
|> join(:left, [n, a], tm in Pleroma.ThreadMute,
on: tm.user_id == ^user.id and tm.context == fragment("?->>'context'", a.data)
)
- |> where([n, a, o, tm], is_nil(tm.id))
+ |> where([n, a, o, tm], is_nil(tm.
user_
id))
end
end