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 import blocked objects #4712

Merged
merged 9 commits into from May 15, 2024
Merged

Fix import blocked objects #4712

merged 9 commits into from May 15, 2024

Conversation

Nutomic
Copy link
Member

@Nutomic Nutomic commented May 8, 2024

It would previously only look in the local database for blocked communities and users. This changes it so that they are actually fetched from the remote instance for blocking.

Depends on #4705

@@ -133,7 +137,8 @@ pub async fn import_settings(
local_user_view.local_user.id,
&local_user_form,
)
.await?;
.await
.ok();
Copy link
Member

Choose a reason for hiding this comment

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

You'll probably see a conflict anyway after the other one gets merged, but the .ok() should be removed.

Copy link
Member

Choose a reason for hiding this comment

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

bump on this one, then we can merge.

Copy link
Member Author

@Nutomic Nutomic May 14, 2024

Choose a reason for hiding this comment

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

Fixed

@Nutomic Nutomic enabled auto-merge (squash) May 14, 2024 10:26
@Nutomic Nutomic force-pushed the fix-import-blocked-objects branch from 399db18 to 76b2345 Compare May 14, 2024 11:00
@Nutomic
Copy link
Member Author

Nutomic commented May 14, 2024

This requires #4705 to be merged for tests to pass.

@Nutomic Nutomic merged commit 9a9d518 into main May 15, 2024
2 checks passed
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