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:
1 parent
5e45e4a2e5
commit
d4ccf7435f
2 files changed
+96
-56
No files matched your search
@@ -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())
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user