feat(federation): add destination field to X-Matrix header
This commit is contained in:
@@ -223,8 +223,9 @@ where
|
|||||||
http_request.headers_mut().insert(
|
http_request.headers_mut().insert(
|
||||||
AUTHORIZATION,
|
AUTHORIZATION,
|
||||||
HeaderValue::from_str(&format!(
|
HeaderValue::from_str(&format!(
|
||||||
"X-Matrix origin={},key=\"{}\",sig=\"{}\"",
|
"X-Matrix origin=\"{}\",destination=\"{}\",key=\"{}\",sig=\"{}\"",
|
||||||
services().globals.server_name(),
|
services().globals.server_name(),
|
||||||
|
destination,
|
||||||
s.0,
|
s.0,
|
||||||
s.1
|
s.1
|
||||||
))
|
))
|
||||||
|
|||||||
Reference in New Issue
Block a user