need mutable ndb reference to unsubscribe
Closes: https://github.com/damus-io/notedeck/pull/584
This commit is contained in:
committed by
William Casarin
parent
926a3f80f4
commit
0c29c89909
@@ -6,7 +6,7 @@ use nostrdb::Ndb;
|
||||
// TODO: make this interface more sandboxed
|
||||
|
||||
pub struct AppContext<'a> {
|
||||
pub ndb: &'a Ndb,
|
||||
pub ndb: &'a mut Ndb,
|
||||
pub img_cache: &'a mut ImageCache,
|
||||
pub unknown_ids: &'a mut UnknownIds,
|
||||
pub pool: &'a mut RelayPool,
|
||||
|
||||
Reference in New Issue
Block a user