Add missing semicolons

This commit is contained in:
Jonas Platte
2021-09-13 18:39:04 +02:00
parent c9bb99b284
commit ebd812bcda
4 changed files with 6 additions and 6 deletions

View File

@@ -43,7 +43,7 @@ pub fn auth_types_for_event(
if [MembershipState::Join, MembershipState::Invite].contains(&membership) {
let key = (EventType::RoomJoinRules, "".to_owned());
if !auth_types.contains(&key) {
auth_types.push(key)
auth_types.push(key);
}
}
@@ -59,7 +59,7 @@ pub fn auth_types_for_event(
{
let key = (EventType::RoomThirdPartyInvite, t_id.signed.token);
if !auth_types.contains(&key) {
auth_types.push(key)
auth_types.push(key);
}
}
}

View File

@@ -147,7 +147,7 @@ pub fn do_check(
let mut auth_events = vec![];
for key in auth_types {
if state_before.contains_key(&key) {
auth_events.push(state_before[&key].clone())
auth_events.push(state_before[&key].clone());
}
}