notedeck

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

commit 6e27c342671728657e941fc7cf411aa40469c2a6
parent 20f0aed2ed17aeb6b8a4f6c861c594641f458954
Author: William Casarin <jb55@jb55.com>
Date:   Thu,  1 Aug 2024 13:44:28 -0700

update nostrdb to fix note corruption bug

Changelog-Fixed: fix note content corruption bug with damus.io links
Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
MCargo.lock | 2+-
MCargo.toml | 2+-
Msrc/app.rs | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock @@ -2296,7 +2296,7 @@ dependencies = [ [[package]] name = "nostrdb" version = "0.3.4" -source = "git+https://github.com/damus-io/nostrdb-rs?rev=8ef4b9c26145572ad7543d955778499e84723099#8ef4b9c26145572ad7543d955778499e84723099" +source = "git+https://github.com/damus-io/nostrdb-rs?rev=aa931882319899d80afc0d33fd87424a96a4ee63#aa931882319899d80afc0d33fd87424a96a4ee63" dependencies = [ "bindgen", "cc", diff --git a/Cargo.toml b/Cargo.toml @@ -33,7 +33,7 @@ serde_json = "1.0.89" env_logger = "0.10.0" puffin_egui = { version = "0.27.0", optional = true } puffin = { version = "0.19.0", optional = true } -nostrdb = { git = "https://github.com/damus-io/nostrdb-rs", rev = "8ef4b9c26145572ad7543d955778499e84723099" } +nostrdb = { git = "https://github.com/damus-io/nostrdb-rs", rev = "aa931882319899d80afc0d33fd87424a96a4ee63" } #nostrdb = "0.3.4" hex = "0.4.3" base32 = "0.4.0" diff --git a/src/app.rs b/src/app.rs @@ -372,7 +372,7 @@ fn poll_notes_for_timeline<'a>( return Err(Error::NoActiveSubscription); }; - let new_note_ids = damus.ndb.poll_for_notes(sub, 100); + let new_note_ids = damus.ndb.poll_for_notes(sub.id, 100); if new_note_ids.is_empty() { return Ok(()); } else {