mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
fix: Build error two: electric boogaloo
This commit is contained in:
@@ -412,10 +412,10 @@ impl Service {
|
|||||||
|
|
||||||
if self.services.server.config.admins_from_room {
|
if self.services.server.config.admins_from_room {
|
||||||
if let Ok(admin_room) = self.get_admin_room().await {
|
if let Ok(admin_room) = self.get_admin_room().await {
|
||||||
self.services
|
return self.services
|
||||||
.state_cache
|
.state_cache
|
||||||
.is_joined(user_id, &admin_room)
|
.is_joined(user_id, &admin_room)
|
||||||
.await
|
.await;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user