mirror of
https://github.com/styppo/hamstr.git
synced 2024-10-18 13:33:22 +00:00
chore: remove useless code
This commit is contained in:
parent
885fc2acf4
commit
1549959f0a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user