summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2023-10-01 12:57:03 +0000
committerGitHub <noreply@github.com>2023-10-01 12:57:03 +0000
commite9104f8c696850cf52080506a5e4ccbf704f01e7 (patch)
tree31cafaea439190959e429d37a78015ae5fac4459 /src
parentMerge pull request #1572 from Nheko-Reborn/differentiateTouch (diff)
parentUse @user:example.com for all sample mxids (diff)
downloadnheko-e9104f8c696850cf52080506a5e4ccbf704f01e7.tar.xz
Merge pull request #1534 from Nheko-Reborn/issue1494
Use @user:example.com for all sample mxids
Diffstat (limited to 'src')
-rw-r--r--src/LoginPage.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/LoginPage.cpp b/src/LoginPage.cpp
index 55487502..afc660a8 100644
--- a/src/LoginPage.cpp
+++ b/src/LoginPage.cpp
@@ -76,13 +76,13 @@ LoginPage::onMatrixIdEntered()
     try {
         user = parse<User>(mxid_.toStdString());
     } catch (const std::exception &) {
-        mxidError_ = tr("You have entered an invalid Matrix ID  e.g @joe:matrix.org");
+        mxidError_ = tr("You have entered an invalid Matrix ID e.g. @user:yourserver.example.com");
         emit mxidErrorChanged();
         return;
     }
 
     if (user.hostname().empty() || user.localpart().empty()) {
-        mxidError_ = tr("You have entered an invalid Matrix ID  e.g @joe:matrix.org");
+        mxidError_ = tr("You have entered an invalid Matrix ID e.g. @user:yourserver.example.com");
         emit mxidErrorChanged();
         return;
     } else {
@@ -146,7 +146,7 @@ LoginPage::checkHomeserverVersion()
     try {
         User user = parse<User>(mxid_.toStdString());
     } catch (const std::exception &) {
-        mxidError_ = tr("You have entered an invalid Matrix ID  e.g @joe:matrix.org");
+        mxidError_ = tr("You have entered an invalid Matrix ID e.g. @user:yourserver.example.com");
         emit mxidErrorChanged();
         return;
     }
@@ -273,7 +273,7 @@ LoginPage::onLoginButtonClicked(LoginMethod loginMethod,
     try {
         user = parse<User>(userid.toStdString());
     } catch (const std::exception &) {
-        mxidError_ = tr("You have entered an invalid Matrix ID  e.g @joe:matrix.org");
+        mxidError_ = tr("You have entered an invalid Matrix ID e.g. @user:yourserver.example.com");
         emit mxidErrorChanged();
         return;
     }