Update supported Matrix version
This commit is contained in:
parent
22495cd86a
commit
2ca5f87cdf
30 changed files with 2951 additions and 2949 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue