messing around with arcs

This commit is contained in:
Timo Kösters
2022-10-05 15:33:57 +02:00
committed by Nyaaori
parent face766e0f
commit cff52d7ebb
77 changed files with 598 additions and 434 deletions

View File

@@ -860,9 +860,8 @@ pub(crate) async fn invite_helper<'a>(
"Could not accept incoming PDU as timeline event.",
))?;
let servers = services()
.rooms
.state_cache
// Bind to variable because of lifetimes
let servers = services().rooms.state_cache
.room_servers(room_id)
.filter_map(|r| r.ok())
.filter(|server| &**server != services().globals.server_name());