mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-14 11:34:15 +00:00
utils: use litepub @context instead of that huge mess
This commit is contained in:
parent
f733470037
commit
da16ada424
|
@ -70,18 +70,7 @@ defmodule Pleroma.Web.ActivityPub.Utils do
|
||||||
%{
|
%{
|
||||||
"@context" => [
|
"@context" => [
|
||||||
"https://www.w3.org/ns/activitystreams",
|
"https://www.w3.org/ns/activitystreams",
|
||||||
"https://w3id.org/security/v1",
|
"https://litepub.github.io/litepub/context.jsonld"
|
||||||
%{
|
|
||||||
"manuallyApprovesFollowers" => "as:manuallyApprovesFollowers",
|
|
||||||
"sensitive" => "as:sensitive",
|
|
||||||
"Hashtag" => "as:Hashtag",
|
|
||||||
"ostatus" => "http://ostatus.org#",
|
|
||||||
"atomUri" => "ostatus:atomUri",
|
|
||||||
"inReplyToAtomUri" => "ostatus:inReplyToAtomUri",
|
|
||||||
"conversation" => "ostatus:conversation",
|
|
||||||
"toot" => "http://joinmastodon.org/ns#",
|
|
||||||
"Emoji" => "toot:Emoji"
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue