aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlex S <alex.strizhakov@gmail.com>2019-07-15 20:53:07 +0300
committerAlex S <alex.strizhakov@gmail.com>2019-07-15 20:53:52 +0300
commit33fd4c0ed7dd11b87c17424a568c44569797a609 (patch)
treef38624dea67f3001b3ffe79fe5d6b47cf8dfb286 /lib
parentee5250ae56b5bc0989864420d8e76b0a2734630d (diff)
downloadpleroma-33fd4c0ed7dd11b87c17424a568c44569797a609.tar.gz
query fix
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/notification.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/notification.ex b/lib/pleroma/notification.ex
index ee7b37aab..d47229258 100644
--- 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