diff options
author | rinpatch <rinpatch@sdf.org> | 2020-05-24 19:05:57 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-05-24 19:05:57 +0000 |
commit | 7bc2ec0aa26037337b6d562a36f24aa131d025d6 (patch) | |
tree | f3a012d63d1e2f2fa7b2b5c77b90c624c66d93e2 /lib/pleroma/web/common_api | |
parent | 72189d227f01f7b6e69a947776238931b500c3ed (diff) | |
parent | 3506e95499133654658c2d653bf636803b61f45f (diff) | |
download | pleroma-7bc2ec0aa26037337b6d562a36f24aa131d025d6.tar.gz |
Merge branch 'mastodon-migration-compat' into 'develop'
Add compatibility routes for converted mastodon instances
Closes #1797
See merge request pleroma/pleroma!2572
Diffstat (limited to 'lib/pleroma/web/common_api')
-rw-r--r-- | lib/pleroma/web/common_api/utils.ex | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/pleroma/web/common_api/utils.ex b/lib/pleroma/web/common_api/utils.ex index 1c0d90a2b..6ec489f9a 100644 --- a/lib/pleroma/web/common_api/utils.ex +++ b/lib/pleroma/web/common_api/utils.ex @@ -470,6 +470,8 @@ defmodule Pleroma.Web.CommonAPI.Utils do |> Enum.map(& &1.ap_id) recipients ++ subscriber_ids + else + _e -> recipients end end @@ -481,6 +483,8 @@ defmodule Pleroma.Web.CommonAPI.Utils do |> User.get_followers() |> Enum.map(& &1.ap_id) |> Enum.concat(recipients) + else + _e -> recipients end end |