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: ignore deleted spaces when checking for followed spaces limit #486

Merged
merged 4 commits into from
Jan 8, 2025

Conversation

wa0x6e
Copy link
Contributor

@wa0x6e wa0x6e commented Jan 6, 2025

Following on #401 (comment)

This PR fix an edge case when checking the limit of followed spaces, when a followed space has been deleted, but will still be counted toward the limit.

This PR will ignore deleted spaces from the limit count

@wa0x6e wa0x6e marked this pull request as ready for review January 6, 2025 19:06
@wa0x6e
Copy link
Contributor Author

wa0x6e commented Jan 6, 2025

Some tests are failing due to issues unrelated to this PR, see #469

@wa0x6e wa0x6e requested a review from ChaituVR January 6, 2025 19:08
@ChaituVR
Copy link
Member

ChaituVR commented Jan 8, 2025

Is there an example to test?

Copy link
Member

@ChaituVR ChaituVR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utAck

@wa0x6e
Copy link
Contributor Author

wa0x6e commented Jan 8, 2025

Is there an example to test?

Not easily, you have to connect to a local db, and manually flag spaces as deleted, or just trust the integrations tests

@wa0x6e wa0x6e merged commit 0776492 into master Jan 8, 2025
2 checks passed
@wa0x6e wa0x6e deleted the fix-ignore-delete-spaces-when-checking-follows-limit branch January 8, 2025 07:17
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.

2 participants