Expose member count in AP data

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-03-24 14:19:24 +01:00
parent b4eb6e9893
commit a71c51a174
3 changed files with 20 additions and 3 deletions

View File

@@ -117,6 +117,10 @@ defmodule Mobilizon.Federation.ActivityPub.Utils do
"@id" => "mz:participantCount",
"@type" => "sc:Integer"
},
"memberCount" => %{
"@id" => "mz:memberCount",
"@type" => "sc:Integer"
},
"isOnline" => %{
"@type" => "sc:Boolean",
"@id" => "mz:isOnline"