aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/notification.ex
diff options
context:
space:
mode:
authorRoman Chvanikov <chvanikoff@pm.me>2019-07-16 16:19:19 +0300
committerRoman Chvanikov <chvanikoff@pm.me>2019-07-16 16:19:19 +0300
commit9bca70b10a4c1a7664616b90c50c10c2a8a1003e (patch)
treed228fe80c6ed7869e4b24fd758b03d2ab489d7d6 /lib/pleroma/notification.ex
parentb052a9d4d0323eb64c0a741a499906659a674244 (diff)
parentd3b922276138cf7aaa896d52a8e35113a40e22dc (diff)
downloadpleroma-9bca70b10a4c1a7664616b90c50c10c2a8a1003e.tar.gz
Merge develop
Diffstat (limited to 'lib/pleroma/notification.ex')
-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 04bbfa0df..5d29af853 100644
--- a/lib/pleroma/notification.ex
+++ b/lib/pleroma/notification.ex
@@ -67,7 +67,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