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

Plugin helper to get instances mutes #5903

Open
JohnXLivingston opened this issue Jul 26, 2023 · 0 comments
Open

Plugin helper to get instances mutes #5903

JohnXLivingston opened this issue Jul 26, 2023 · 0 comments
Labels
Component: Moderation :godmode: Component: PeerTube Plugin 📦 Features that can be developed in a plugin, but require PeerTube plugin API development Type: Feature Request ✨

Comments

@JohnXLivingston
Copy link
Contributor

Describe the problem to be solved

It could be useful for plugins to get instances mutes (server and accounts).
For example, for the livechat plugin, i should block users from muted instances.

Describe the solution you would like

A backend helper to get the mute lists.

Or maybe: a backend helper to test if an account should be muted (in other words: true if account or account's instance is muted, else returns false)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Moderation :godmode: Component: PeerTube Plugin 📦 Features that can be developed in a plugin, but require PeerTube plugin API development Type: Feature Request ✨
2 participants