Fix most User tests.
This commit is contained in:
parent
e7cd6e9739
commit
4c918392c6
4 changed files with 50 additions and 20 deletions
|
|
@ -42,7 +42,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|
|||
defp check_actor_is_active(actor) do
|
||||
if not is_nil(actor) do
|
||||
with user <- User.get_cached_by_ap_id(actor),
|
||||
false <- !!user.info["deactivated"] do
|
||||
false <- user.info.deactivated do
|
||||
:ok
|
||||
else
|
||||
_e -> :reject
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue