only check tips and votes for notifications
This commit is contained in:
parent
cef8a33267
commit
dea34e0b93
@ -197,6 +197,7 @@ export default {
|
|||||||
WHERE "ItemAct"."userId" <> $1
|
WHERE "ItemAct"."userId" <> $1
|
||||||
AND "ItemAct".created_at > $2
|
AND "ItemAct".created_at > $2
|
||||||
AND "Item"."userId" = $1
|
AND "Item"."userId" = $1
|
||||||
|
AND "ItemAct".act IN ('VOTE', 'TIP')
|
||||||
LIMIT 1`, me.id, lastChecked)
|
LIMIT 1`, me.id, lastChecked)
|
||||||
if (votes.length > 0) {
|
if (votes.length > 0) {
|
||||||
return true
|
return true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user