chore: Code cleanup
This commit is contained in:
parent
abacf1dc20
commit
8d66500c99
1 changed files with 1 additions and 2 deletions
|
|
@ -686,8 +686,6 @@ async fn collect_required_state(
|
|||
) -> Vec<Raw<AnySyncStateEvent>> {
|
||||
let mut required_state = Vec::new();
|
||||
for (event_type, state_key) in required_state_request {
|
||||
// Resolve wild-card sentinel issue
|
||||
// Addresses: https://forgejo.ellis.link/continuwuation/continuwuity/issues/1306
|
||||
if state_key.as_str() == "*" {
|
||||
if let Ok(keys) = services
|
||||
.rooms
|
||||
|
|
@ -705,6 +703,7 @@ async fn collect_required_state(
|
|||
required_state.push(Event::into_format(event));
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if let Ok(event) = services
|
||||
.rooms
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue