diff options
author | scarlett <nia@netbsd.org> | 2018-10-29 23:08:56 +0000 |
---|---|---|
committer | scarlett <nia@netbsd.org> | 2018-10-29 23:13:15 +0000 |
commit | b92e38d2d4c05da19b00162d7ca35f1905b44a80 (patch) | |
tree | ad29dab9b2c755e813b0258dcbf56b9a8f79ec69 /lib/pleroma/web | |
parent | a880e0a5278110031ad14bfd5c24e8054e878d9d (diff) | |
download | pleroma-b92e38d2d4c05da19b00162d7ca35f1905b44a80.tar.gz |
Add user reactivation task.
Diffstat (limited to 'lib/pleroma/web')
-rw-r--r-- | lib/pleroma/web/activity_pub/activity_pub.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index 537b99f31..5a81f6fa2 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -44,7 +44,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), - nil <- user.info["deactivated"] do + false <- !!user.info["deactivated"] do :ok else _e -> :reject |