mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 19:45:05 +01:00
Use unstable prefix for MSC2965 issuer discovery
This commit is contained in:
parent
12d1760582
commit
969bdbbf30
@ -50,7 +50,7 @@ export async function lookupHomeserver(homeserver, request) {
|
|||||||
homeserver = normalizeHomeserver(wellKnownHomeserver);
|
homeserver = normalizeHomeserver(wellKnownHomeserver);
|
||||||
}
|
}
|
||||||
|
|
||||||
const wellKnownIssuer = body["m.authentication"]?.["issuer"];
|
const wellKnownIssuer = body["org.matrix.msc2965.authentication"]?.["issuer"];
|
||||||
if (typeof wellKnownIssuer === "string") {
|
if (typeof wellKnownIssuer === "string") {
|
||||||
issuer = wellKnownIssuer;
|
issuer = wellKnownIssuer;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user