remove p2p zap notification indicator fixing 'phantom' notifications
This commit is contained in:
parent
5261c83f4d
commit
7daf688ea3
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue