Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit d53178ce authored by tobiasKaminsky's avatar tobiasKaminsky
Browse files

Add groupfolder support

parent f2434ec4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -98,7 +98,7 @@ public class WebdavEntry {
    @Getter private String note = "";
    @Getter private List<String> sharees = new ArrayList<>();

    public enum MountType {INTERNAL, EXTERNAL}
    public enum MountType {INTERNAL, EXTERNAL, GROUP}

    public WebdavEntry(MultiStatusResponse ms, String splitElement) {
        resetData();
@@ -253,6 +253,8 @@ public class WebdavEntry {
            if (prop != null) {
                if ("external".equals(prop.getValue())) {
                    mountType = MountType.EXTERNAL;
                } else if ("group".equals(prop.getValue())) {
                    mountType = MountType.GROUP;
                } else {
                    mountType = MountType.INTERNAL;
                }