@@ -3,7 +3,7 @@ use egui_virtual_list::VirtualList;
33use enostr:: KeypairUnowned ;
44use nostrdb:: { Note , Transaction } ;
55use notedeck:: note:: root_note_id_from_selected_id;
6- use notedeck:: { MuteFun , NoteAction , NoteContext , UnknownIds } ;
6+ use notedeck:: { MuteFun , NoteAction , NoteContext } ;
77use notedeck_ui:: jobs:: JobsCache ;
88use notedeck_ui:: note:: NoteResponse ;
99use notedeck_ui:: { NoteOptions , NoteView } ;
@@ -12,7 +12,6 @@ use crate::timeline::thread::{NoteSeenFlags, ParentState, Threads};
1212
1313pub struct ThreadView < ' a , ' d > {
1414 threads : & ' a mut Threads ,
15- unknown_ids : & ' a mut UnknownIds ,
1615 selected_note_id : & ' a [ u8 ; 32 ] ,
1716 note_options : NoteOptions ,
1817 col : usize ,
@@ -27,7 +26,6 @@ impl<'a, 'd> ThreadView<'a, 'd> {
2726 #[ allow( clippy:: too_many_arguments) ]
2827 pub fn new (
2928 threads : & ' a mut Threads ,
30- unknown_ids : & ' a mut UnknownIds ,
3129 selected_note_id : & ' a [ u8 ; 32 ] ,
3230 note_options : NoteOptions ,
3331 is_muted : & ' a MuteFun ,
@@ -38,7 +36,6 @@ impl<'a, 'd> ThreadView<'a, 'd> {
3836 let id_source = egui:: Id :: new ( "threadscroll_threadview" ) ;
3937 ThreadView {
4038 threads,
41- unknown_ids,
4239 selected_note_id,
4340 note_options,
4441 id_source,
@@ -96,7 +93,7 @@ impl<'a, 'd> ThreadView<'a, 'd> {
9693 self . note_context . note_cache ,
9794 self . note_context . ndb ,
9895 txn,
99- self . unknown_ids ,
96+ self . note_context . unknown_ids ,
10097 self . col ,
10198 ) ;
10299
0 commit comments