summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2024-06-10 02:16:20 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2024-06-10 02:16:20 +0200
commit64bba3736df808976ea7ff64ec07e1ea19b8aebe (patch)
treeff70737dc62a2308819c8f1d19e0f74373cf4998 /src
parentlint (diff)
downloadnheko-64bba3736df808976ea7ff64ec07e1ea19b8aebe.tar.xz
Update changelog
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;
         }