notedeck

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

commit c826ec06ee45d9b78734ea184bdfbab0e9bc798e
parent a85db81beb91112ede64b7e72159024151af3bde
Author: alltheseas <alltheseas@users.noreply.github.com>
Date:   Tue,  4 Nov 2025 00:42:58 -0600

Format with cargo fmt

Diffstat:
Mcrates/notedeck/src/note/context.rs | 4+---
Mcrates/notedeck_columns/src/actionbar.rs | 4+---
2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/crates/notedeck/src/note/context.rs b/crates/notedeck/src/note/context.rs @@ -29,9 +29,7 @@ pub struct ContextSelection { /// Collects relay URLs where the note was actually observed. fn relay_hints_for_note(note: &Note<'_>, txn: &Transaction) -> Vec<String> { - note.relays(txn) - .map(|relay| relay.to_owned()) - .collect() + note.relays(txn).map(|relay| relay.to_owned()).collect() } fn note_nip19_event_bech(note: &Note<'_>, txn: &Transaction) -> Option<String> { diff --git a/crates/notedeck_columns/src/actionbar.rs b/crates/notedeck_columns/src/actionbar.rs @@ -189,9 +189,7 @@ fn execute_note_action( NoteAction::Context(context) => match ndb.get_note_by_key(txn, context.note_key) { Err(err) => tracing::error!("{err}"), Ok(note) => { - context - .action - .process_selection(ui, &note, pool, txn); + context.action.process_selection(ui, &note, pool, txn); } }, NoteAction::Media(media_action) => {