Use unstable prefix for MSC2965 issuer discovery

This commit is contained in:
Hugh Nimmo-Smith 2022-07-08 15:35:55 +01:00 committed by Quentin Gliech
parent 4b1cc8d645
commit 2e24685a5f
No known key found for this signature in database
GPG Key ID: 22D62B84552719FC

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;
}