X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fnotification.ex;h=d472292581201ebcfd79abd1628add4d4b03566f;hb=0bbc0f0cf4ee87e8ac5995818c8049bf86e848cd;hp=ee7b37aab35bc3cc193b3835bfc7597f59d3370a;hpb=cef4337f950cca5ca9c9dec313efeb8f43aa5a40;p=akkoma 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