notedeck

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

commit 4d124c05fa6a72bece1cf8560a3a767f139d1a3f
parent 01bedac71043b1e3f661bb60568dfaac3d342c31
Author: William Casarin <jb55@jb55.com>
Date:   Fri, 15 Nov 2024 10:08:46 -0800

remove unnecessary crash

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

Diffstat:
Msrc/app.rs | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/app.rs b/src/app.rs @@ -223,12 +223,13 @@ fn update_damus(damus: &mut Damus, ctx: &egui::Context) { damus .subscriptions() .insert("unknownids".to_string(), SubKind::OneShot); - timeline::setup_initial_nostrdb_subs( + if let Err(err) = timeline::setup_initial_nostrdb_subs( &damus.ndb, &mut damus.note_cache, &mut damus.columns, - ) - .expect("home subscription failed"); + ) { + warn!("update_damus init: {err}"); + } } DamusState::Initialized => (),