Use unstable prefix for MSC2965 issuer discovery

This commit is contained in:
Hugh Nimmo-Smith 2022-07-08 15:35:55 +01:00
parent 12d1760582
commit 969bdbbf30

View File

@ -50,7 +50,7 @@ export async function lookupHomeserver(homeserver, request) {
homeserver = normalizeHomeserver(wellKnownHomeserver);
}
const wellKnownIssuer = body["m.authentication"]?.["issuer"];
const wellKnownIssuer = body["org.matrix.msc2965.authentication"]?.["issuer"];
if (typeof wellKnownIssuer === "string") {
issuer = wellKnownIssuer;
}