need mutable ndb reference to unsubscribe

Closes: https://github.com/damus-io/notedeck/pull/584
This commit is contained in:
Ken Sedgwick authored and William Casarin committed 2024-12-17 08:57:06 -08:00
1 parent 926a3f80f4
commit 0c29c89909
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -162,7 +162,7 @@ impl Notedeck {
pub fn app_context(&mut self) -> AppContext<'_> {
AppContext {
ndb: &self.ndb,
ndb: &mut self.ndb,
img_cache: &mut self.img_cache,
unknown_ids: &mut self.unknown_ids,
pool: &mut self.pool,