notedeck

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

commit c401f4c48402f1414309932b8d0620008c1aab14
parent 43637f52bb23251bdae68a0203391aaf1db28dcc
Author: kieran <kieran@harkin.me>
Date:   Mon, 20 Jan 2025 20:33:49 +0000

note-ref: derive hash

Diffstat:
Mcrates/notedeck/src/note.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crates/notedeck/src/note.rs b/crates/notedeck/src/note.rs @@ -4,7 +4,7 @@ use nostrdb::{Ndb, Note, NoteKey, QueryResult, Transaction}; use std::borrow::Borrow; use std::cmp::Ordering; -#[derive(Debug, Eq, PartialEq, Copy, Clone)] +#[derive(Debug, Eq, PartialEq, Copy, Clone, Hash)] pub struct NoteRef { pub key: NoteKey, pub created_at: u64,