Skip to content

Fix zeroing out remote quarantined media count#19559

Merged
turt2live merged 4 commits intodevelopfrom
travis/fix-quarantined-count
Mar 18, 2026
Merged

Fix zeroing out remote quarantined media count#19559
turt2live merged 4 commits intodevelopfrom
travis/fix-quarantined-count

Conversation

@turt2live
Copy link
Member

@turt2live turt2live commented Mar 14, 2026

Just something I noticed while working on #19558

We start the function by setting total_media_quarantined to zero, then we do work on the media_ids, add the number affected, zero it out (bug), do work on hashes, add the number of affected rows, then return total_media_quarantined.

Pull Request Checklist

  • Pull request is based on the develop branch
  • Pull request includes a changelog file. The entry should:
    • Be a short description of your change which makes sense to users. "Fixed a bug that prevented receiving messages from other servers." instead of "Moved X method from EventStore to EventWorkerStore.".
    • Use markdown where necessary, mostly for code blocks.
    • End with either a period (.) or an exclamation mark (!).
    • Start with a capital letter.
    • Feel free to credit yourself, by adding a sentence "Contributed by @github_username." or "Contributed by [Your Name]." to the end of the entry.
  • Code style is correct (run the linters)

@turt2live turt2live marked this pull request as ready for review March 14, 2026 00:31
@turt2live turt2live requested a review from a team as a code owner March 14, 2026 00:31
@turt2live turt2live merged commit 261bfb7 into develop Mar 18, 2026
79 of 81 checks passed
@turt2live turt2live deleted the travis/fix-quarantined-count branch March 18, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants