mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Modify shareeTypes to include 'circles'
Updated shareeTypes to include 'circles' instead of 'teams'. Signed-off-by: Rello <Rello@users.noreply.github.com>
This commit is contained in:
parent
bc2ace2ad2
commit
b66a381f13
@ -219,7 +219,11 @@ void ShareeModel::shareesFetched(const QJsonDocument &reply)
|
||||
|
||||
QVector<ShareePtr> newSharees;
|
||||
|
||||
const QStringList shareeTypes{"users", "groups", "emails", "remotes", "teams", "rooms", "lookup"};
|
||||
const QStringList shareeTypes{"users", "groups", "emails", "remotes", "circles", "rooms", "lookup"};
|
||||
/*
|
||||
* this needs to remain as 'circles' because the server api is still promoting this
|
||||
* parseShare is mapping each share by its share type later
|
||||
*/
|
||||
|
||||
const auto appendSharees = [this, &shareeTypes, &newSharees](const QJsonObject &data) {
|
||||
for (const auto &shareeType : shareeTypes) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user