diff options
author | Kevin Ottens <kevin.ottens@nextcloud.com> | 2020-06-17 16:06:48 +0300 |
---|---|---|
committer | Kevin Ottens <kevin.ottens@nextcloud.com> | 2020-06-30 12:29:08 +0300 |
commit | b3fb730d5a7e0dfb137a62abf0bbfe41c61b8fb2 (patch) | |
tree | bd6439275ec803cd4da318129d67b1ecfbcbc703 /src/gui/folderstatusmodel.cpp | |
parent | 5f611d6e39b25157002ee9f47e00b449430e0571 (diff) |
Use the propagator to trigger the e2e info fetch
This is a much better place than the GUI, this way we ensure the
propagator is always operating of up to date information. Previously if
the propagator kicked in without user interaction from startup (not
showing the settings dialog) it would have no E2E information available
whatsoever... unsurprisingly it would thus take wrong information at
every turn.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Diffstat (limited to 'src/gui/folderstatusmodel.cpp')
-rw-r--r-- | src/gui/folderstatusmodel.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gui/folderstatusmodel.cpp b/src/gui/folderstatusmodel.cpp index ce268f7a3..c337d8351 100644 --- a/src/gui/folderstatusmodel.cpp +++ b/src/gui/folderstatusmodel.cpp @@ -581,12 +581,6 @@ void FolderStatusModel::fetchMore(const QModelIndex &parent) path += info->_path; } - //TODO: This is the correct place, but this doesn't seems to be the right - // Way to call fetchFolderEncryptedStatus. - if (_accountState->account()->capabilities().clientSideEncryptionAvailable()) { - _accountState->account()->e2e()->fetchFolderEncryptedStatus(); - } - auto *job = new LsColJob(_accountState->account(), path, this); info->_fetchingJob = job; job->setProperties(QList<QByteArray>() << "resourcetype" |