Remove system information from device display name

BUG: 496901


(cherry picked from commit 9d887ba3e7)

Co-authored-by: Tobias Fella <fella@posteo.de>
This commit is contained in:
Carl Schwan
2024-12-02 16:07:56 +00:00
parent fb5a3c1c5c
commit 64c5ad88f6
2 changed files with 2 additions and 6 deletions

View File

@@ -93,10 +93,7 @@ void Registration::registerAccount()
auto matrixId = "@%1:%2"_ls.arg(m_username, m_homeserver);
connection->resolveServer(matrixId);
auto displayName = "NeoChat %1 %2 %3 %4"_ls.arg(QSysInfo::machineHostName(),
QSysInfo::productType(),
QSysInfo::productVersion(),
QSysInfo::currentCpuArchitecture());
auto displayName = "NeoChat"_ls;
connection->loginWithPassword(matrixId, m_password, displayName);
connect(connection, &Connection::connected, this, [this, displayName, connection] {