summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/LoginPage.cpp3
-rw-r--r--src/RegisterPage.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/LoginPage.cpp b/src/LoginPage.cpp
index ea295136..9b48730d 100644
--- a/src/LoginPage.cpp
+++ b/src/LoginPage.cpp
@@ -184,13 +184,14 @@ LoginPage::checkHomeserverVersion()
                     "v1.7",
                     "v1.8",
                     "v1.9",
+                    "v1.10",
                   };
                   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 (%1 to %2). You can't sign in.")
-                .arg(u"v1.1", u"v1.9"));
+                .arg(u"v1.1", u"v1.10"));
             return;
         }
 
diff --git a/src/RegisterPage.cpp b/src/RegisterPage.cpp
index 824547bc..93e2cf1b 100644
--- a/src/RegisterPage.cpp
+++ b/src/RegisterPage.cpp
@@ -139,13 +139,14 @@ RegisterPage::versionsCheck()
                     "v1.7",
                     "v1.8",
                     "v1.9",
+                    "v1.10",
                   };
                   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 (%1 to %2). You can't register.")
-                .arg(u"v1.1", u"v1.9"));
+                .arg(u"v1.1", u"v1.10"));
             emit hsErrorChanged();
             return;
         }