Update Sharee Type enum to include Team

Signed-off-by: Rello <Rello@users.noreply.github.com>
This commit is contained in:
Rello 2025-09-05 08:15:59 +07:00 committed by Matthieu Gallien
parent 7ffb10c5df
commit 62f4a1499c

View File

@ -36,7 +36,7 @@ class Sharee
public:
// Keep in sync with Share::ShareType
enum Type { Invalid = -1, User = 0, Group = 1, Email = 4, Federated = 6, Circle = 7, Room = 10, LookupServerSearch = 999, LookupServerSearchResults = 1000 };
enum Type { Invalid = -1, User = 0, Group = 1, Email = 4, Federated = 6, Team = 7, Room = 10, LookupServerSearch = 999, LookupServerSearchResults = 1000 };
Q_ENUM(Type);
explicit Sharee() = default;
explicit Sharee(const QString &shareWith, const QString &displayName, const Type type, const QString &iconUrl = {});