services(state_cache): use self
instead of services()
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
2230bc7339
commit
14ec41c211
1 changed files with 1 additions and 3 deletions
|
@ -408,9 +408,7 @@ impl Service {
|
|||
})?
|
||||
.flatten();
|
||||
|
||||
let mut servers: Vec<OwnedServerName> = services()
|
||||
.rooms
|
||||
.state_cache
|
||||
let mut servers: Vec<OwnedServerName> = self
|
||||
.room_members(room_id)
|
||||
.filter_map(Result::ok)
|
||||
.counts_by(|user| user.server_name().to_owned())
|
||||
|
|
Loading…
Add table
Reference in a new issue