chore: remove useless code

This commit is contained in:
Ricardo Arturo Cabral Mejia 2022-01-30 02:11:12 +00:00
parent 885fc2acf4
commit 1549959f0a
No known key found for this signature in database
GPG Key ID: 8949679922214342

View File

@ -58,7 +58,7 @@ export function processMentions(event) {
match => match.groups.p
)
const tags = Array.from(new Set(matches).values()).reduce(
const tags = matches.reduce(
(tags, pubkey) =>
tags.find(([t, v]) => t === 'p' && v === pubkey)
? tags