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
|
||||
AND "ItemAct".created_at > $2
|
||||
AND "Item"."userId" = $1
|
||||
AND "ItemAct".act IN ('VOTE', 'TIP')
|
||||
LIMIT 1`, me.id, lastChecked)
|
||||
if (votes.length > 0) {
|
||||
return true
|
||||
|
|
Loading…
Reference in New Issue