Fix remote group visibility and use Mastodon's discoverable attribute
Make sure actor visibility is :public or :unlisted Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -39,6 +39,9 @@ defmodule Mobilizon.Federation.ActivityPub.Utils do
|
||||
"sc" => "http://schema.org#",
|
||||
"ical" => "http://www.w3.org/2002/12/cal/ical#",
|
||||
"pt" => "https://joinpeertube.org/ns#",
|
||||
"toot" => "http://joinmastodon.org/ns#",
|
||||
"discoverable" => "toot:discoverable",
|
||||
"manuallyApprovesFollowers" => "as:manuallyApprovesFollowers",
|
||||
"Hashtag" => "as:Hashtag",
|
||||
"category" => "sc:category",
|
||||
"uuid" => "sc:identifier",
|
||||
|
||||
Reference in New Issue
Block a user