summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2024-03-08 18:57:50 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2024-03-08 18:57:50 +0100
commit9c2d50bb86d18e97ca819b969397fa0f6c231c05 (patch)
treee71a5ca2d723c9f4e0a6627502f3a46032678db1
parentAdd support for intentional mentions (diff)
downloadnheko-9c2d50bb86d18e97ca819b969397fa0f6c231c05.tar.xz
Bump supported matrix versions to 1.9
-rw-r--r--src/LoginPage.cpp7
-rw-r--r--src/RegisterPage.cpp7
2 files changed, 12 insertions, 2 deletions
diff --git a/src/LoginPage.cpp b/src/LoginPage.cpp

index c4e9319c..fd35240b 100644 --- a/src/LoginPage.cpp +++ b/src/LoginPage.cpp
@@ -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; } diff --git a/src/RegisterPage.cpp b/src/RegisterPage.cpp
index 2c0a5b07..e1f86e53 100644 --- a/src/RegisterPage.cpp +++ b/src/RegisterPage.cpp
@@ -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; }