Update db.js
This commit is contained in:
parent
6b15513360
commit
675ee83a7d
|
@ -84,9 +84,8 @@ db.channels = {
|
|||
if (!this.duplicates) {
|
||||
const buffer = []
|
||||
output = output.filter(channel => {
|
||||
const info = channel.getInfo()
|
||||
if (buffer.includes(info)) return false
|
||||
buffer.push(info)
|
||||
if (buffer.includes(channel.hash)) return false
|
||||
buffer.push(channel.hash)
|
||||
|
||||
return true
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue