mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-30 03:38:31 +00:00
simplify references to server_name
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
71a3855af6
commit
3e0ff2dc84
13 changed files with 29 additions and 26 deletions
|
@ -50,7 +50,7 @@ pub(crate) async fn report_room_route(
|
|||
if !services
|
||||
.rooms
|
||||
.state_cache
|
||||
.server_in_room(&services.server.config.server_name, &body.room_id)
|
||||
.server_in_room(&services.server.name, &body.room_id)
|
||||
.await
|
||||
{
|
||||
return Err!(Request(NotFound(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue