fix: limit number of relays for url
This commit is contained in:
parent
a97b1364c5
commit
e795ea2b12
@ -155,7 +155,7 @@ export default function useEventPublisher() {
|
||||
// @ts-ignore
|
||||
ev.Tags.push(new Tag(["p", author]))
|
||||
// @ts-ignore
|
||||
const relayTag = ['relays', ...Object.keys(relays)]
|
||||
const relayTag = ['relays', ...Object.keys(relays).slice(0, 10)]
|
||||
// @ts-ignore
|
||||
ev.Tags.push(new Tag(relayTag))
|
||||
processContent(ev, msg || '');
|
||||
|
Loading…
x
Reference in New Issue
Block a user