1
0
Fork 0
mirror of https://gitlab.com/nkming2/nc-photos.git synced 2025-03-27 17:34:44 +01:00

Ignore e2ee dirs when listing content

This commit is contained in:
Ming Ming 2022-05-16 20:02:30 +08:00
parent 2645c7f977
commit e4c7f52ec1

View file

@ -451,6 +451,10 @@ class FileCachedDataSource implements FileDataSource {
_log.info("[list] File removed: $dir");
_appDbSrc.remove(account, dir);
return [];
} else if (e.response.statusCode == 403) {
_log.info("[list] E2E encrypted dir: $dir");
_appDbSrc.remove(account, dir);
return [];
} else {
rethrow;
}