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

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2015-11-05 14:30:34 +0300
committerRoeland Jago Douma <rullzer@owncloud.com>2015-11-05 14:30:34 +0300
commit20fd349e174abc530a261b5d6832c138ca7542c4 (patch)
treedf2e34959b3695537b2cf86fefcf71e88b643483 /src/gui/sharee.h
parent3e4612a1f0c66e522d84359a479c1fc0e2f2c85b (diff)
[Sharing] Filter sharee list properly
You can't share with a user/group that you've already shared with You can't share with yourself
Diffstat (limited to 'src/gui/sharee.h')
-rw-r--r--src/gui/sharee.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/sharee.h b/src/gui/sharee.h
index 33a308bdc..ec955441a 100644
--- a/src/gui/sharee.h
+++ b/src/gui/sharee.h
@@ -57,6 +57,7 @@ public:
explicit ShareeModel(AccountPtr account,
const QString search,
const QString type,
+ const QVector<QSharedPointer<Sharee>> &shareeBlacklist,
QObject *parent = 0);
void fetch();
@@ -79,6 +80,7 @@ private:
QString _type;
QVector<QSharedPointer<Sharee>> _sharees;
+ QVector<QSharedPointer<Sharee>> _shareeBlacklist;
};
}