don't notify about thread creation on forward

This commit is contained in:
keyan 2023-09-12 16:36:52 -05:00
parent 52d938a22a
commit e557882a7d
1 changed files with 2 additions and 0 deletions

View File

@ -97,6 +97,8 @@ export default {
AND "Item"."userId" <> $1 AND "Item".created_at <= $2
-- Only show items that have been created since subscribing to the thread
AND "Item".created_at >= "ThreadSubscription".created_at
-- don't notify on posts
AND "Item"."parentId" IS NOT NULL
${await filterClause(me, models)}
ORDER BY "sortTime" DESC
LIMIT ${LIMIT}+$3`