mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-29 00:11:01 +00:00
Merge pull request #516 from dtonon/feature/limit_3_hints
Limit njump nevents to 3 relay hints to have a shorter URL
This commit is contained in:
commit
e6d10fbf2e
@ -401,6 +401,7 @@ fn render_note_inner(
|
||||
Ok(vec) => vec
|
||||
.iter()
|
||||
.map(|(url, _)| url.to_unchecked_url())
|
||||
.take(3) // Limit to 3 relay hints
|
||||
.collect(),
|
||||
Err(_) => vec![],
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user