Merge branch 'bugfix-ccworks' into 'develop'
Bugfix for ccworks AP bridge Closes #3234 See merge request pleroma/pleroma!4043
This commit is contained in:
commit
d19642d7eb
7 changed files with 52 additions and 5 deletions
|
|
@ -336,10 +336,6 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
|
|||
|
||||
def fix_tag(object), do: object
|
||||
|
||||
def fix_content_map(%{"contentMap" => nil} = object) do
|
||||
Map.drop(object, ["contentMap"])
|
||||
end
|
||||
|
||||
# content map usually only has one language so this will do for now.
|
||||
def fix_content_map(%{"contentMap" => content_map} = object) do
|
||||
content_groups = Map.to_list(content_map)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue