aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/activity_pub
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2019-10-21 11:58:22 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2019-10-21 11:58:22 +0300
commit7c7f90bc4f361b8bf4b49790640a4aa490ee619f (patch)
treec74d52d098f75f93885dafe8911b9580d97657ab /lib/pleroma/web/activity_pub
parenta11a7176d59deafa08a865d6e0950b9b9c540f18 (diff)
downloadpleroma-7c7f90bc4f361b8bf4b49790640a4aa490ee619f.tar.gz
[#1304] Merged `develop`, handled User.Info.invisible.
Diffstat (limited to 'lib/pleroma/web/activity_pub')
-rw-r--r--lib/pleroma/web/activity_pub/relay.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/activity_pub/relay.ex b/lib/pleroma/web/activity_pub/relay.ex
index de80612f1..a9434d75c 100644
--- a/lib/pleroma/web/activity_pub/relay.ex
+++ b/lib/pleroma/web/activity_pub/relay.ex
@@ -14,7 +14,7 @@ defmodule Pleroma.Web.ActivityPub.Relay do
"#{Pleroma.Web.Endpoint.url()}/relay"
|> User.get_or_create_service_actor_by_ap_id()
- {:ok, actor} = User.update_info(actor, &User.Info.set_invisible(&1, true))
+ {:ok, actor} = User.set_invisible(actor, true)
actor
end