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

Disallow anonymously blocking yourself #1582

Merged
merged 1 commit into from
Jan 21, 2024
Merged

Conversation

pixeldesu
Copy link
Member

With #1563 and several cases of anonymous blocks causing this problem I noticed that one case that prevented account deletion was someone anonymous blocking themselves.

This is a behaviour that shouldn't be possible (it doesn't even make sense), so this prevents it.

Copy link

codecov bot commented Jan 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a8cb2f6) 95.71% compared to head (bf9e3f1) 95.71%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1582   +/-   ##
=======================================
  Coverage   95.71%   95.71%           
=======================================
  Files         174      174           
  Lines        2706     2706           
=======================================
  Hits         2590     2590           
  Misses        116      116           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pixeldesu pixeldesu merged commit 9ddcf65 into main Jan 21, 2024
12 checks passed
@pixeldesu pixeldesu deleted the fix/no-anon-self-block branch January 21, 2024 10:19
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

1 participant