Skip to content

Commit

Permalink
???
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasFella committed Dec 14, 2024
1 parent 781924e commit 38b49e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Quotient/connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ void Connection::resolveServer(const QString& mxid)
d->data->setBaseUrl(maybeBaseUrl); // Temporarily set it for this one call
d->resolverJob = callApi<GetWellknownJob>();
// Make sure baseUrl is restored in any case, even an abandon, and before any further processing
connect(d->resolverJob.get(), &BaseJob::finished, this,
[this, oldBaseUrl] { d->data->setBaseUrl(oldBaseUrl); });
// connect(d->resolverJob.get(), &BaseJob::finished, this,
// [this, oldBaseUrl] { d->data->setBaseUrl(oldBaseUrl); });
d->resolverJob.onResult(this, [this, maybeBaseUrl]() mutable {
if (d->resolverJob->error() != BaseJob::NotFound) {
if (!d->resolverJob->status().good()) {
Expand Down
1 change: 0 additions & 1 deletion quotest/quotest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,6 @@ void TestManager::finalize(const QString& lastWords)
clog << "Logging out" << endl;
c->logout().then(
this, [this, lastWords] {
//clog << lastWords.toStdString() << endl;
QCoreApplication::exit(!testSuite ? -3
: succeeded.empty() && failed.empty()
&& running.empty()
Expand Down

0 comments on commit 38b49e4

Please sign in to comment.