notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit 31d770cbf41bdc1639e4141dae0b621e0a25d518
parent 908f1e4dfd08b6e2bb76e640961a9490a45bbefa
Author: William Casarin <jb55@jb55.com>
Date:   Sun, 11 Feb 2024 11:57:25 -0800

add a few more relays for testing

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Msrc/app.rs | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/app.rs b/src/app.rs @@ -123,6 +123,12 @@ fn relay_setup(pool: &mut RelayPool, ctx: &egui::Context) { if let Err(e) = pool.add_url("wss://relay.damus.io".to_string(), wakeup.clone()) { error!("{:?}", e) } + if let Err(e) = pool.add_url("wss://nos.lol".to_string(), wakeup.clone()) { + error!("{:?}", e) + } + if let Err(e) = pool.add_url("wss://nostr.wine".to_string(), wakeup.clone()) { + error!("{:?}", e) + } if let Err(e) = pool.add_url("wss://purplepag.es".to_string(), wakeup) { error!("{:?}", e) } @@ -595,6 +601,9 @@ fn render_note_contents( note: &Note, note_key: NoteKey, ) -> Result<()> { + #[cfg(feature = "profiling")] + puffin::profile_function!(); + let blocks = damus.ndb.get_blocks_by_key(txn, note_key)?; for block in blocks.iter(note) {