Don't include your own comments when determining if there are new thread
subscription replies for user hasNewNotes
This commit is contained in:
parent
8f034f0e0a
commit
a6d3ca09e9
@ -329,6 +329,7 @@ export default {
|
|||||||
${whereClause(
|
${whereClause(
|
||||||
'"ThreadSubscription"."userId" = $1',
|
'"ThreadSubscription"."userId" = $1',
|
||||||
'"Item".created_at > $2::timestamp(3) without time zone',
|
'"Item".created_at > $2::timestamp(3) without time zone',
|
||||||
|
'"Item"."userId" <> $1',
|
||||||
await filterClause(me, models),
|
await filterClause(me, models),
|
||||||
muteClause(me)
|
muteClause(me)
|
||||||
)})`, me.id, lastChecked)
|
)})`, me.id, lastChecked)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user