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:
1 parent
4992e25b3a
commit
1a93663b1a
7 files changed
+756
-106
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user