Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: notify mobile app when live photos are linked #5504

Merged
merged 3 commits into from
Dec 6, 2023

Conversation

shenlong-tanwen
Copy link
Member

Changes made in the PR:

  • A new event on_asset_hidden is added to notify the clients when an asset is hidden in the server

  • The new end point is used to notify the clients when motion part of a live photo is hidden so that the clients in turn can handle them

  • The on_asset_hidden event is handled in the mobile app by removing the asset from the local db

  • The websocket pending changes code is also refactored. A new ID field is added to each pending change and processed changes are removed based on the ID instead of removing them based on the type which could result in cases where an event might be missed

  • The changes in album_thumbnail_listtile.dart is not related to this PR, but all it does is to wrap the children in an Expanded widget to prevent overflows in albums having large title

@alextran1502 alextran1502 merged commit f53b705 into main Dec 6, 2023
18 checks passed
@alextran1502 alextran1502 deleted the fix/live-photo-linked-mobile branch December 6, 2023 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants