Merge branch 'feature/mention-mrf' into 'develop'
[akkoma] / lib / pleroma / notification.ex
index ee7b37aab35bc3cc193b3835bfc7597f59d3370a..d472292581201ebcfd79abd1628add4d4b03566f 100644 (file)
@@ -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