Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamila San <hello@camila.codes>2019-06-21 19:36:45 +0300
committerCamila San <hello@camila.codes>2019-06-21 19:36:45 +0300
commitd6a0a5272a281050d2d0a7caa0f1621e83f705f6 (patch)
tree82a1bec5f5d70589e5cd13537361d7a3ac325cdb /src/gui/sharedialog.cpp
parent459a17bd7ebf480df8b811a4761b7fa0e47e187f (diff)
Displays the uid_owner of a shared file.
Also displays the sharees that reshared it via share link. Signed-off-by: Camila San <hello@camila.codes>
Diffstat (limited to 'src/gui/sharedialog.cpp')
-rw-r--r--src/gui/sharedialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/sharedialog.cpp b/src/gui/sharedialog.cpp
index 57126988b..bc45eed20 100644
--- a/src/gui/sharedialog.cpp
+++ b/src/gui/sharedialog.cpp
@@ -194,7 +194,7 @@ void ShareDialog::slotSharesFetched(const QList<QSharedPointer<Share>> &shares)
const QString versionString = _accountState->account()->serverVersion();
qCInfo(lcSharing) << versionString << "Fetched" << shares.count() << "shares";
foreach (auto share, shares) {
- if (share->getShareType() != Share::TypeLink) {
+ if (share->getShareType() != Share::TypeLink || share->getUidOwner() != share->account()->davUser()) {
continue;
}