replace HybridSet with NoteUnits

This will unify the collections that hold the notes to timelines
and threads and allow the notifications timeline to have grouped
notifications, among other things

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2025-08-24 23:32:25 -04:00
parent 4992e25b3a
commit 1a93663b1a
7 changed files with 756 additions and 106 deletions

View File

@@ -111,7 +111,7 @@ impl<'a, 'd> ThreadView<'a, 'd> {
parent_state = ParentState::Unknown;
}
for note_ref in &cur_node.replies {
for note_ref in cur_node.replies.values() {
if let Ok(note) = self.note_context.ndb.get_note_by_key(txn, note_ref.key) {
note_builder.add_reply(note);
}