diff options
author | Matthieu Gallien <matthieu.gallien@nextcloud.com> | 2021-07-28 13:27:02 +0300 |
---|---|---|
committer | Matthieu Gallien <matthieu.gallien@nextcloud.com> | 2021-07-28 13:27:02 +0300 |
commit | d2133da3eec7fd04b7d28fc39da328c44cb52bf3 (patch) | |
tree | 7d8d329bfc90c7ab83055d33018590a887e93c59 /src/cmd | |
parent | c40d276770678c3109ce34799eb8b3d1f0b118b3 (diff) |
fix review comments
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/cmd.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cmd/cmd.cpp b/src/cmd/cmd.cpp index 762dfc71c..39f4533de 100644 --- a/src/cmd/cmd.cpp +++ b/src/cmd/cmd.cpp @@ -445,11 +445,6 @@ int main(int argc, char **argv) account->setUrl(url); account->setSslErrorHandler(sslErrorHandler); - // Do not do it if '--nonshib' was passed. This mean we should only connect to the 'nonshib' - // dav endpoint. Since we do not get the capabilities, in that case, this has the additional - // side effect that chunking-ng will be disabled. (because otherwise it would use the new - // 'dav' endpoint instead of the nonshib one (which still use the old chunking) - QEventLoop loop; auto *job = new JsonApiJob(account, QLatin1String("ocs/v1.php/cloud/capabilities")); QObject::connect(job, &JsonApiJob::jsonReceived, [&](const QJsonDocument &json) { |