merge-requests/85/head
Timo Kösters 3 years ago
parent fd69ac621c
commit 1939e62814
No known key found for this signature in database
GPG Key ID: 24DA7517711A2BA4

@ -137,9 +137,7 @@ where
let x_matrix = match request
.headers()
.get_one("Authorization")
.and_then(|s|
// Split off "X-Matrix " and parse the rest
s.get(9..))
.and_then(|s| s.get(9..)) // Split off "X-Matrix " and parse the rest
.map(|s| {
s.split_terminator(',')
.map(|field| {

Loading…
Cancel
Save