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>
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user