diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-12-19 13:55:20 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-12-19 13:55:20 +0900 |
commit | a76c6faede34b95e4bc5c823cbbe51b3f32556ea (patch) | |
tree | 3b7bfbd71c479a7e8664736bfbb064193fdbdbe2 | |
parent | 575f859bb1a16b5d680789876f156aaf1e4f6c52 (diff) | |
download | libquotient-a76c6faede34b95e4bc5c823cbbe51b3f32556ea.tar.gz libquotient-a76c6faede34b95e4bc5c823cbbe51b3f32556ea.zip |
Don't use LoginJob::homeServer() anymore
Because the respective parameter in /login result is deprecated. Closes #137.
-rw-r--r-- | connection.cpp | 2 |
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()); }); |