Also fetch shared with me share on target path

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-10-20 17:35:42 +08:00
parent 4fdac399f0
commit a72f23a4d3
No known key found for this signature in database
GPG key ID: C839200C384636B0

View file

@ -34,6 +34,7 @@ void OcsShareJob::getShares(const QString &path, const QMap<QString, QString> &p
addParam(QString::fromLatin1("path"), path); addParam(QString::fromLatin1("path"), path);
addParam(QString::fromLatin1("reshares"), QString("true")); addParam(QString::fromLatin1("reshares"), QString("true"));
addParam("shared_with_me", "true");
for (auto it = std::cbegin(params); it != std::cend(params); ++it) { for (auto it = std::cbegin(params); it != std::cend(params); ++it) {
addParam(it.key(), it.value()); addParam(it.key(), it.value());