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

Blocking account via REST API mutes the account, rather than blocking the account #6335

Closed
agrathwohl opened this issue Apr 17, 2024 · 1 comment

Comments

@agrathwohl
Copy link

Describe the current behavior

Sending a POST request to the REST API on my peertube 6.0.3 instance as documented here does not perform the correct action. Instead of blocking the account, it mutes the account instead. I cannot find another REST API endpoint in the documentation that blocks an account.

Steps to reproduce

  1. Acquire admin credentials to get an admin-level access_token.
  2. Send bearer-authenticated POST to /api/v1/server/blocklist/accounts with a JSON body such as: { "accountName": "testaccount@domain" }.
  3. On the Peertube admin GUI, the user is now listed as muted, not blocked.

Describe the expected behavior

Expected behavior is the user gets blocked, not muted.

Additional information

  • PeerTube instance:
    • Version: 6.0.3
@Chocobozzz
Copy link
Owner

Chocobozzz commented Apr 22, 2024

Hi,

PeerTube supports a mute++ feature, between a mute and a block: https://docs.joinpeertube.org/use/mute#what-does-mute-do
As described in the documentation, it mutes the user but also block some interactions on your videos.

See the following issue for a complete blocking feature: #1087

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

No branches or pull requests

2 participants