Add more comments and cleanup out of date comments

This commit is contained in:
Devin Ragotzy 2020-11-04 15:19:38 -05:00 committed by Devin Ragotzy
parent f45cb2963a
commit b04c74ce88
2 changed files with 1 additions and 3 deletions

View File

@ -185,6 +185,7 @@ impl StateResolution {
.collect::<Vec<_>>()
);
// This "epochs" power level event
let power_event = resolved_control.get(&(EventType::RoomPowerLevels, "".into()));
tracing::debug!("PL {:?}", power_event);

View File

@ -367,12 +367,9 @@ fn do_check(
let mut state_after = state_before.clone();
// if fake_event.state_key().is_some() {
let ty = fake_event.kind().clone();
// we know there is a state_key unwrap OK
let key = fake_event.state_key().clone();
state_after.insert((ty, key), event_id.clone());
// }
let auth_types = state_res::auth_types_for_event(
fake_event.kind(),