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

Fixed a few issues related to the GroupAvatarDownloadJob #1107

Conversation

mpretty-cyro
Copy link
Collaborator

  • Added logic to avoid scheduling a GroupAvatarDownloadJob if there is already an existing one with the same parameters
  • Added logic to avoid trying to download an old avatar for a group if there is a new one
  • Added logic to prevent an old GroupAvatarDownloadJob from overriding a valid avatar with an old one

Added logic to avoid scheduling a GroupAvatarDownloadJob if there is already an existing one with the same parameters
Added logic to avoid trying to download an old avatar for a group if there is a new one
Added logic to prevent an old GroupAvatarDownloadJob from overriding a valid avatar with an old one
@mpretty-cyro mpretty-cyro added the bug Something isn't working label Feb 8, 2023
@mpretty-cyro mpretty-cyro requested a review from hjubb February 8, 2023 02:43
@mpretty-cyro mpretty-cyro self-assigned this Feb 8, 2023
hjubb
hjubb previously approved these changes Feb 9, 2023
Added a method to remove the Group avatar
Fixed an issue where the recipient diffing on the HomeActivity wasn't working properly
Fixed an issue where the GroupAvatarDownloadJob could be scheduled even when there was already one scheduled
@mpretty-cyro mpretty-cyro requested a review from hjubb February 9, 2023 23:05
@mpretty-cyro
Copy link
Collaborator Author

@hjubb Sorry, I came across another issue so need this re-reviewed - also added the logic for handling a group avatar being removed

@mpretty-cyro mpretty-cyro dismissed hjubb’s stale review February 15, 2023 04:37

Code change since review

@mpretty-cyro mpretty-cyro merged commit 391418a into oxen-io:dev Feb 16, 2023
@mpretty-cyro mpretty-cyro deleted the fix/group-avatar-download-job-duplication branch February 16, 2023 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants