diff options
author | Sadposter <hannah+pleroma@coffee-and-dreams.uk> | 2019-04-05 16:51:45 +0100 |
---|---|---|
committer | Hannah Ward <Hannah.ward9001@gmail.com> | 2019-04-05 17:02:07 +0100 |
commit | 9ca91cbb8764ef4f8fe5303705dd98984e4e90c0 (patch) | |
tree | f9aaa3397de39f5f68faff29cf09125c2126de32 /lib/pleroma/web/common_api/utils.ex | |
parent | d35f6551c1e9b11dec81b622c9ed2d9cdd6ac389 (diff) | |
download | pleroma-9ca91cbb8764ef4f8fe5303705dd98984e4e90c0.tar.gz |
Change relationship direction of subscriptions
Diffstat (limited to 'lib/pleroma/web/common_api/utils.ex')
-rw-r--r-- | lib/pleroma/web/common_api/utils.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/common_api/utils.ex b/lib/pleroma/web/common_api/utils.ex index 087778dfe..4e0a6b2d9 100644 --- a/lib/pleroma/web/common_api/utils.ex +++ b/lib/pleroma/web/common_api/utils.ex @@ -343,7 +343,7 @@ defmodule Pleroma.Web.CommonAPI.Utils do with %User{} = user <- User.get_by_ap_id(actor) do subscriber_ids = user - |> User.subscribed_users() + |> User.subscribers() |> Enum.map(& &1.ap_id) recipients ++ subscriber_ids |