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) {
|
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({
|
const wdrwl = await models.withdrawl.findFirst({
|
||||||
where: {
|
where: {
|
||||||
userId: me.id,
|
userId: me.id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user