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 b8294393..fce135ed 100644
--- a/lib/connection.cpp
+++ b/lib/connection.cpp
@@ -1546,10 +1546,8 @@ void Connection::setHomeserver(const QUrl& url)
{
if (isJobPending(d->resolverJob))
d->resolverJob->abandon();
- d->resolverJob = nullptr;
if (isJobPending(d->loginFlowsJob))
d->loginFlowsJob->abandon();
- d->loginFlowsJob = nullptr;
d->loginFlows.clear();
if (homeserver() != url) {