mirror of
https://github.com/immich-app/immich.git
synced 2025-01-21 00:52:43 -05:00
efbc0cb192
* Initial look at fixing issue where images are uploaded to the wrong album if a shared album conflicts with a local users album. * Use owner instead of shared flag when fetching albums. * Fix issue with refreshRemoteAlbums getting shared items twice and removed incorrect isShared comment. Using `getAll(shared: true)` gets all shared albums the user can access (regardless of owner, despite the previous comment). Using `getAll(shared: null)` gets all albums (incuding shared = true and shared = false). I presume the intent here was to get albums that were shared (and not mine), and not shared (ie: mine), but the logic is way off. It also just then combines them - so makes more sense to just get them in a single call. * Fix formatting. * Fixed tests. * Revert "Fixed tests." This reverts commit |
||
---|---|---|
.. | ||
activity_api.interface.dart | ||
album.interface.dart | ||
album_api.interface.dart | ||
album_media.interface.dart | ||
asset.interface.dart | ||
asset_api.interface.dart | ||
asset_media.interface.dart | ||
auth.interface.dart | ||
auth_api.interface.dart | ||
backup.interface.dart | ||
database.interface.dart | ||
download.interface.dart | ||
etag.interface.dart | ||
exif_info.interface.dart | ||
file_media.interface.dart | ||
network.interface.dart | ||
partner_api.interface.dart | ||
person_api.interface.dart | ||
share_handler.interface.dart | ||
upload.interface.dart | ||
user.interface.dart | ||
user_api.interface.dart |