mirror of
https://github.com/aljazceru/notedeck.git
synced 2026-01-16 06:44:20 +01:00
doc: add docs for get_unknown_note_ids
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -269,6 +269,14 @@ impl<'a> UnknownId<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
/// Look for missing notes in various parts of notes that we see:
|
||||
///
|
||||
/// - pubkeys and notes mentioned inside the note
|
||||
/// - notes being replied to
|
||||
///
|
||||
/// We return all of this in a HashSet so that we can fetch these from
|
||||
/// remote relays.
|
||||
///
|
||||
fn get_unknown_note_ids<'a>(
|
||||
ndb: &Ndb,
|
||||
_cached_note: &CachedNote,
|
||||
|
||||
Reference in New Issue
Block a user