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

refactor: Move hide space/post functionality to the separate extrinsics #214

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

TarekkMA
Copy link
Contributor

@TarekkMA TarekkMA commented Jun 2, 2023

No description provided.

T::IsAccountBlocked::is_allowed_account(caller.clone(), space.id),
ModerationError::AccountIsBlocked
);
Self::ensure_account_can_update_post(&caller, &post, space)?;
Copy link
Contributor

Choose a reason for hiding this comment

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

Need to use ensure_account_can_hide_post

@F3Joule F3Joule marked this pull request as draft December 6, 2023 20:58
@F3Joule F3Joule added enhancement New feature or request question Further information is requested labels Dec 6, 2023
@F3Joule F3Joule requested review from siman and F3Joule January 5, 2024 14:16
@F3Joule F3Joule changed the title extract Hide space and post refactor: Move hide space/post functionality to the separate extrinsics Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants