aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-12-19 13:55:20 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-12-19 13:55:20 +0900
commita76c6faede34b95e4bc5c823cbbe51b3f32556ea (patch)
tree3b7bfbd71c479a7e8664736bfbb064193fdbdbe2
parent575f859bb1a16b5d680789876f156aaf1e4f6c52 (diff)
downloadlibquotient-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.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());
});