diff --git a/api/resolvers/notifications.js b/api/resolvers/notifications.js index 52c5f84b..3fb72cfe 100644 --- a/api/resolvers/notifications.js +++ b/api/resolvers/notifications.js @@ -84,6 +84,7 @@ export default { '"ThreadSubscription"."userId" = $1', 'r.created_at >= "ThreadSubscription".created_at', 'r.created_at < $2', + 'r."userId" <> $1', ...(meFull.noteAllDescendants ? [] : ['r.level = 1']) )} ORDER BY "sortTime" DESC