ActivityPub: Remove block.

This commit is contained in:
lain 2020-06-25 11:51:33 +02:00
commit 44bb7cfccd
5 changed files with 5 additions and 92 deletions

View file

@ -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 ->