Never notify on replies to self (#1013)
This commit is contained in:
parent
992fc54160
commit
9f06692e3e
|
@ -84,6 +84,7 @@ export default {
|
||||||
'"ThreadSubscription"."userId" = $1',
|
'"ThreadSubscription"."userId" = $1',
|
||||||
'r.created_at >= "ThreadSubscription".created_at',
|
'r.created_at >= "ThreadSubscription".created_at',
|
||||||
'r.created_at < $2',
|
'r.created_at < $2',
|
||||||
|
'r."userId" <> $1',
|
||||||
...(meFull.noteAllDescendants ? [] : ['r.level = 1'])
|
...(meFull.noteAllDescendants ? [] : ['r.level = 1'])
|
||||||
)}
|
)}
|
||||||
ORDER BY "sortTime" DESC
|
ORDER BY "sortTime" DESC
|
||||||
|
|
Loading…
Reference in New Issue