Also fetch shared with me share on target path
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Sun, 20 Oct 2024 09:35:42 +0000 (17:35 +0800)
committerClaudio Cambra <claudio.cambra@nextcloud.com>
Fri, 22 Nov 2024 08:33:49 +0000 (16:33 +0800)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/ocssharejob.cpp

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