mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
Use the encrypted path for collection listing
If we use the local path we'll get a 404. Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
This commit is contained in:
parent
511a6e66dc
commit
2831b22be4
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@ PropagateRemoteDeleteEncrypted::PropagateRemoteDeleteEncrypted(OwncloudPropagato
|
|||
|
||||
void PropagateRemoteDeleteEncrypted::start()
|
||||
{
|
||||
QFileInfo info(_item->_file);
|
||||
Q_ASSERT(!_item->_encryptedFileName.isEmpty());
|
||||
QFileInfo info(_item->_encryptedFileName);
|
||||
qCDebug(PROPAGATE_REMOVE_ENCRYPTED) << "Folder is encrypted, let's get the Id from it.";
|
||||
auto job = new LsColJob(_propagator->account(), info.path(), this);
|
||||
job->setProperties({"resourcetype", "http://owncloud.org/ns:fileid"});
|
||||
|
|
Loading…
Reference in a new issue