diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2015-11-05 14:30:34 +0300 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2015-11-05 14:30:34 +0300 |
commit | 20fd349e174abc530a261b5d6832c138ca7542c4 (patch) | |
tree | df2e34959b3695537b2cf86fefcf71e88b643483 /src/gui/sharee.h | |
parent | 3e4612a1f0c66e522d84359a479c1fc0e2f2c85b (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.h | 2 |
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; }; } |