Merge pull request #564 from SatsAllDay/ignore-own-comments-new-notes-thread-subscribe

hasNewNotes for your own comments in subscribed threads
This commit is contained in:
Keyan 2023-10-20 19:06:55 -05:00 committed by GitHub
commit ca9b60b0fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -329,6 +329,7 @@ export default {
${whereClause(
'"ThreadSubscription"."userId" = $1',
'"Item".created_at > $2::timestamp(3) without time zone',
'"Item"."userId" <> $1',
await filterClause(me, models),
muteClause(me)
)})`, me.id, lastChecked)