From 50a4d0a33f483edb344ef3915f9a654bdd39c088 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Sun, 27 Dec 2020 22:36:35 +0000 Subject: [PATCH] Fix login for homeservers without well-known (cherry picked from commit 3858956e82ec40a2cfa8225e5b739b4e8747aeaa) --- src/controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller.cpp b/src/controller.cpp index 752b9ec8f..0090a5122 100644 --- a/src/controller.cpp +++ b/src/controller.cpp @@ -110,7 +110,7 @@ void Controller::loginWithCredentials(const QString &serverAddr, const QString & // we are using a fake mixd since resolveServer just set the homeserver url :sigh: conn->resolveServer("@username:" + serverUrl.host() + ":" + QString::number(serverUrl.port(443))); - connect(conn, &Connection::homeserverChanged, this, [this, user, conn, pass, deviceName]() { + connect(conn, &Connection::loginFlowsChanged, this, [this, user, conn, pass, deviceName]() { conn->loginWithPassword(user, pass, deviceName, ""); connect(conn, &Connection::connected, this, [this, conn, deviceName] { AccountSettings account(conn->userId());