-
Notifications
You must be signed in to change notification settings - Fork 46
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
Implement user blocking #169
Comments
Maybe this could be handled in the same way @RiccardoM suggests for the relationship. |
@bragaz What do you mean by "relationship"? Could you link the issue or discussion please? |
sorry the comment is incomplete, I was referring to the fact that when you block someone on mooncake you'll have it blocked even on all the other apps, so maybe we can handle it like you suggested here: #168 (comment) |
I think I can start with this after merge of #260 |
@RiccardoM What do you think about saving an |
@bragaz I think it's better to save the blocking reason inside the storage, otherwise it would be lost when a chain upgrade happens. Also, I think it's better to also save the blocking subspace as well to avoid that some application changes how other applications work. |
Feature description
In all social networks, users are free to block any other user for any reason. Usually this feature is used after an abusive behavior has taken place, in order to prevent further harassment. Following the implementation of #50 and #168, I think we should definitely implement this feature also inside Desmos.
Implementation proposal
Following you can find the details of the implementation I've thought about this feature.
Types
The following type should be sufficient to represent a user blockage:
Messages
The operations that should be implemented when talking about user blocking should be:
The following message should do the trick:
Keeper
The following methods should be sufficient to implement all the above mentioned operations:
Conclusions
@kwunyeung @bragaz let me know what you guys think about this feature and its proposed implementation.
The text was updated successfully, but these errors were encountered: