ActivityPub: Remove block.
This commit is contained in:
parent
8cfb58a8c0
commit
44bb7cfccd
5 changed files with 5 additions and 92 deletions
|
|
@ -1527,8 +1527,7 @@ defmodule Pleroma.User do
|
|||
blocked_identifiers,
|
||||
fn blocked_identifier ->
|
||||
with {:ok, %User{} = blocked} <- get_or_fetch(blocked_identifier),
|
||||
{:ok, _user_block} <- block(blocker, blocked),
|
||||
{:ok, _} <- ActivityPub.block(blocker, blocked) do
|
||||
{:ok, _block} <- CommonAPI.block(blocker, blocked) do
|
||||
blocked
|
||||
else
|
||||
err ->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue