Update supported Matrix version

This commit is contained in:
Nicolas Werner 2023-01-10 05:54:58 +01:00
parent 22495cd86a
commit 2ca5f87cdf
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
30 changed files with 2951 additions and 2949 deletions

View file

@ -138,12 +138,13 @@ RegisterPage::versionsCheck()
"v1.2",
"v1.3",
"v1.4",
"v1.5",
};
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.4). You can't register."));
"this client understands (v1.1 to v1.5). You can't register."));
emit hsErrorChanged();
return;
}