Additional new nightly lint fixes.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -280,7 +280,7 @@ pub(crate) async fn get_profile_route(
|
||||
.into_iter()
|
||||
.filter_map(|(key, val)| val.map(|val| (key, val)))
|
||||
.map(|(key, val)| (key.to_owned(), val.into()))
|
||||
.chain(response.custom_profile_fields.into_iter());
|
||||
.chain(response.custom_profile_fields);
|
||||
|
||||
return Ok(response.collect::<get_profile::v3::Response>());
|
||||
}
|
||||
|
||||
@@ -506,7 +506,7 @@ async fn register_user(
|
||||
|
||||
// log in conduit admin channel if a non-guest user registered
|
||||
let notice =
|
||||
format!("New user \"{user_id}\" registered on this server via {idp_name} ({idp_id})",);
|
||||
format!("New user \"{user_id}\" registered on this server via {idp_name} ({idp_id})");
|
||||
|
||||
info!("{notice}");
|
||||
if services.server.config.admin_room_notices {
|
||||
|
||||
Reference in New Issue
Block a user