Convert uses of Box<ServerName> to a ref

This commit is contained in:
Devin Ragotzy 2021-01-14 14:39:56 -05:00
parent d108a735a4
commit 52392628e9
7 changed files with 92 additions and 43 deletions

View file

@ -137,7 +137,7 @@ pub async fn get_public_rooms_filtered_helper(
.sending
.send_federation_request(
&db.globals,
other_server.to_owned(),
other_server,
federation::directory::get_public_rooms_filtered::v1::Request {
limit,
since: since.as_deref(),