get all missing ids from all timelines

before we were only fetching missing profiles from the first timeline,
update the logic to pull both missing authors and ids from all timelines

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin committed 2024-04-12 18:52:32 -07:00
1 parent 5e45e4a2e5
commit d4ccf7435f
2 files changed
+96 -56

No files matched your search

+4
View File
@@ -82,6 +82,10 @@ impl std::str::FromStr for Event {
pub struct EventId([u8; 32]);
impl EventId {
pub fn new(id: [u8; 32]) -> Self {
EventId(id)
}
pub fn hex(&self) -> String {
hex::encode(self.bytes())
}