aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/connection.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp
index a61f1ada..3ed71bb4 100644
--- a/lib/connection.cpp
+++ b/lib/connection.cpp
@@ -1534,10 +1534,8 @@ void Connection::setHomeserver(const QUrl& url)
{
if (isJobRunning(d->resolverJob))
d->resolverJob->abandon();
- d->resolverJob = nullptr;
if (isJobRunning(d->loginFlowsJob))
d->loginFlowsJob->abandon();
- d->loginFlowsJob = nullptr;
d->loginFlows.clear();
if (homeserver() != url) {