aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connection.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/connection.cpp b/connection.cpp
index 06c4dcee..9169480e 100644
--- a/connection.cpp
+++ b/connection.cpp
@@ -164,8 +164,6 @@ void Connection::doConnectToServer(const QString& user, const QString& password,
deviceId, initialDeviceName);
connect(loginJob, &BaseJob::success, this,
[=] {
- setHomeserver(QUrl::fromUserInput(
- homeserver().scheme() + "://" + loginJob->homeServer()));
d->connectWithToken(loginJob->userId(), loginJob->accessToken(),
loginJob->deviceId());
});