From 6b41c77dadd16ef5d10c7b36ef22d5a089973d7b Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Sat, 22 Jul 2023 16:33:08 -0400 Subject: Use @user:example.com for all sample mxids --- src/LoginPage.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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(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(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(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; } -- cgit 1.4.1