remove p2p zap notification indicator fixing 'phantom' notifications

This commit is contained in:
k00b 2025-01-08 18:10:14 -06:00
parent 5261c83f4d
commit 7daf688ea3
1 changed files with 0 additions and 20 deletions

View File

@ -441,26 +441,6 @@ export default {
}
if (user.noteWithdrawals) {
const p2pZap = await models.invoice.findFirst({
where: {
confirmedAt: {
gt: lastChecked
},
invoiceForward: {
withdrawl: {
userId: me.id,
status: 'CONFIRMED',
updatedAt: {
gt: lastChecked
}
}
}
}
})
if (p2pZap) {
foundNotes()
return true
}
const wdrwl = await models.withdrawl.findFirst({
where: {
userId: me.id,