state-res: Remove todo comment
EventId has the same ordering as str.
This commit is contained in:
parent
91e6a1c65c
commit
660cd97962
@ -527,11 +527,7 @@ where
|
|||||||
if let Ok(depth) = get_mainline_depth(Some(event), &mainline_map, &fetch_event) {
|
if let Ok(depth) = get_mainline_depth(Some(event), &mainline_map, &fetch_event) {
|
||||||
order_map.insert(
|
order_map.insert(
|
||||||
ev_id,
|
ev_id,
|
||||||
(
|
(depth, fetch_event(ev_id).map(|ev| ev.origin_server_ts()), ev_id),
|
||||||
depth,
|
|
||||||
fetch_event(ev_id).map(|ev| ev.origin_server_ts()),
|
|
||||||
ev_id, // TODO should this be a &str to sort lexically??
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user