Skip to content
Snippets Groups Projects
Verified Commit 9c2d50bb authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Bump supported matrix versions to 1.9

parent 7c2a152c
No related branches found
No related tags found
No related merge requests found
Pipeline #5667 waiting for manual action
......@@ -180,12 +180,17 @@ LoginPage::checkHomeserverVersion()
"v1.3",
"v1.4",
"v1.5",
"v1.6",
"v1.7",
"v1.8",
"v1.9",
};
return supported.count(v) != 0;
}) == versions.versions.cend()) {
emit versionErrorCb(
tr("The selected server does not support a version of the Matrix protocol, that this "
"client understands (v1.1 to v1.5). You can't sign in."));
"client understands (%1 to %2). You can't sign in.")
.arg(u"v1.1", u"v1.9"));
return;
}
......
......@@ -135,12 +135,17 @@ RegisterPage::versionsCheck()
"v1.3",
"v1.4",
"v1.5",
"v1.6",
"v1.7",
"v1.8",
"v1.9",
};
return supported.count(v) != 0;
}) == versions.versions.cend()) {
emit setHsError(
tr("The selected server does not support a version of the Matrix protocol that "
"this client understands (v1.1 to v1.5). You can't register."));
"this client understands (%1 to %2). You can't register.")
.arg(u"v1.1", u"v1.9"));
emit hsErrorChanged();
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment