Expose remainingAttendeeCapacity and participantCount through AP
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -69,6 +69,7 @@ defmodule Mobilizon.Federation.ActivityPub.Utils do
|
||||
"category" => "sc:category",
|
||||
"uuid" => "sc:identifier",
|
||||
"maximumAttendeeCapacity" => "sc:maximumAttendeeCapacity",
|
||||
"remainingAttendeeCapacity" => "sc:remainingAttendeeCapacity",
|
||||
"location" => %{
|
||||
"@id" => "sc:location",
|
||||
"@type" => "sc:Place"
|
||||
@@ -112,6 +113,10 @@ defmodule Mobilizon.Federation.ActivityPub.Utils do
|
||||
"@id" => "mz:participationMessage",
|
||||
"@type" => "sc:Text"
|
||||
},
|
||||
"participantCount" => %{
|
||||
"@id" => "mz:participantCount",
|
||||
"@type" => "sc:Integer"
|
||||
},
|
||||
"isOnline" => %{
|
||||
"@type" => "sc:Boolean",
|
||||
"@id" => "mz:isOnline"
|
||||
|
||||
Reference in New Issue
Block a user