mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 23:31:24 +01:00
enable multiple_bound_locations lint
This commit is contained in:
parent
92d9f81a78
commit
eaeb7620d9
5 changed files with 10 additions and 11 deletions
|
|
@ -128,12 +128,12 @@ impl FedDest {
|
|||
}
|
||||
|
||||
#[tracing::instrument(skip(request), fields(destination_cache_result))]
|
||||
pub(crate) async fn send_request<T: OutgoingRequest>(
|
||||
pub(crate) async fn send_request<T>(
|
||||
destination: &ServerName,
|
||||
request: T,
|
||||
) -> Result<T::IncomingResponse>
|
||||
where
|
||||
T: Debug,
|
||||
T: OutgoingRequest + Debug,
|
||||
{
|
||||
if !services().globals.allow_federation() {
|
||||
return Err(Error::BadConfig("Federation is disabled."));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue