Plugin helper to get instances mutes #5903
Labels
Component: Moderation
Component: PeerTube Plugin 📦
Features that can be developed in a plugin, but require PeerTube plugin API development
Type: Feature Request ✨
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 returnsfalse
)The text was updated successfully, but these errors were encountered: