refactor: minor appservice code cleanup
This commit is contained in:
parent
fa930182ae
commit
0bb28f60cf
8 changed files with 136 additions and 163 deletions
|
@ -524,17 +524,11 @@ impl Service {
|
|||
}
|
||||
}
|
||||
|
||||
for appservice in services()
|
||||
.appservice
|
||||
.registration_info
|
||||
.read()
|
||||
.await
|
||||
.values()
|
||||
{
|
||||
for appservice in services().appservice.all().await {
|
||||
if services()
|
||||
.rooms
|
||||
.state_cache
|
||||
.appservice_in_room(&pdu.room_id, appservice)?
|
||||
.appservice_in_room(&pdu.room_id, &appservice)?
|
||||
{
|
||||
services()
|
||||
.sending
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue