Compare commits
No commits in common. "7fd4f58e81595da67db2c2192c58d7f15d15400a" and "de38a683d5bbcebad572cd161f701190dc3653f5" have entirely different histories.
7fd4f58e81
...
de38a683d5
@ -215,7 +215,8 @@ export async function onPaid ({ invoice, id }, context) {
|
|||||||
INSERT INTO "Reply" (created_at, updated_at, "ancestorId", "ancestorUserId", "itemId", "userId", level)
|
INSERT INTO "Reply" (created_at, updated_at, "ancestorId", "ancestorUserId", "itemId", "userId", level)
|
||||||
SELECT comment.created_at, comment.updated_at, ancestors.id, ancestors."userId",
|
SELECT comment.created_at, comment.updated_at, ancestors.id, ancestors."userId",
|
||||||
comment.id, comment."userId", nlevel(comment.path) - nlevel(ancestors.path)
|
comment.id, comment."userId", nlevel(comment.path) - nlevel(ancestors.path)
|
||||||
FROM ancestors, comment`
|
FROM ancestors, comment
|
||||||
|
WHERE ancestors."userId" <> comment."userId"`
|
||||||
|
|
||||||
notifyItemParents({ item, models }).catch(console.error)
|
notifyItemParents({ item, models }).catch(console.error)
|
||||||
}
|
}
|
||||||
|
@ -283,7 +283,6 @@ export default {
|
|||||||
'"ThreadSubscription"."userId" = $1',
|
'"ThreadSubscription"."userId" = $1',
|
||||||
'r.created_at > $2',
|
'r.created_at > $2',
|
||||||
'r.created_at >= "ThreadSubscription".created_at',
|
'r.created_at >= "ThreadSubscription".created_at',
|
||||||
'r."userId" <> $1',
|
|
||||||
activeOrMine(me),
|
activeOrMine(me),
|
||||||
await filterClause(me, models),
|
await filterClause(me, models),
|
||||||
muteClause(me),
|
muteClause(me),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user